summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2014-04-15 04:41:00 +0200
committerChris Mason <clm@fb.com>2014-04-25 01:43:32 +0200
commitc5f7d0bb29df2e1848a236e58e201daf5b4e0f21 (patch)
tree00190de63e0573193302449e3df0d13cc467ac41 /fs/btrfs/ioctl.c
parentbtrfs: fix use-after-free in mount_subvol() (diff)
downloadlinux-c5f7d0bb29df2e1848a236e58e201daf5b4e0f21.tar.xz
linux-c5f7d0bb29df2e1848a236e58e201daf5b4e0f21.zip
btrfs: Change the hole range to a more accurate value.
Commit 3ac0d7b96a268a98bd474cab8bce3a9f125aaccf fixed the btrfs expanding write problem but the hole punched is sometimes too large for some iovec, which has unmapped data ranges. This patch will change to hole range to a more accurate value using the counts checked by the write check routines. Reported-by: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
0 files changed, 0 insertions, 0 deletions