]> Pileus Git - ~andy/linux/commit
Btrfs: fix max_inline mount option
authorMitch Harder <mitch.harder@sabayonlinux.org>
Thu, 13 Feb 2014 15:13:16 +0000 (09:13 -0600)
committerChris Mason <clm@fb.com>
Fri, 14 Feb 2014 21:44:32 +0000 (13:44 -0800)
commitfeb5f96589302b39a2b10fc210db7c47a73e4168
tree045b98f0adf5d6cf28610fca020a563c9990020a
parenta9d2d4adb6a87e515912a7033b227acbd9c8835e
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: Mitch Harder <mitch.harder@sabayonlinux.org>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/super.c