Skip to content
Commit feb5f965 authored by Mitch Harder's avatar Mitch Harder Committed by Chris Mason
Browse files

Btrfs: fix max_inline mount option



Currently, the only mount option for max_inline that has any effect is
max_inline=0.  Any other value that is supplied to max_inline will be
adjusted to a minimum of 4k.  Since max_inline has an effective maximum
of ~3900 bytes due to page size limitations, the current behaviour
only has meaning for max_inline=0.

This patch will allow the the max_inline mount option to accept non-zero
values as indicated in the documentation.

Signed-off-by: default avatarMitch Harder <mitch.harder@sabayonlinux.org>
Signed-off-by: default avatarChris Mason <clm@fb.com>
parent a9d2d4ad
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment