From: Chris Mason Date: Thu, 3 Jan 2008 20:44:57 +0000 (-0500) Subject: Btrfs: Lower the max inline size to 8k X-Git-Tag: upstream/snapshot3+hdmi~20477^2~11^2~55^2~56^2~30^2~354 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2552488345ea0933711010ee2c844792130a4252;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git Btrfs: Lower the max inline size to 8k Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index e862292..94c9337 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -303,7 +303,7 @@ static int noinline dirty_and_release_pages(struct btrfs_trans_handle *trans, */ inline_size = end_pos; if (isize >= BTRFS_MAX_INLINE_DATA_SIZE(root) || - inline_size > 32768 || + inline_size > 8192 || inline_size >= BTRFS_MAX_INLINE_DATA_SIZE(root)) { u64 last_end; u64 existing_delalloc = 0;