From: Josef Bacik Date: Fri, 13 Mar 2015 19:12:23 +0000 (-0400) Subject: Btrfs: account for the correct number of extents for delalloc reservations X-Git-Tag: omap-for-v4.1/fixes-rc1~293^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a41dd0922e3c63e677c2d8f7906ce6a3e097af1;p=pandora-kernel.git Btrfs: account for the correct number of extents for delalloc reservations Direct IO can easily pass in an buffer that is greater than BTRFS_MAX_EXTENT_SIZE, so take this into account when reserving extents in the delalloc reservation code. Thanks, Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed