summaryrefslogtreecommitdiff
path: root/fs/btrfs/ioctl.c
diff options
context:
space:
mode:
authorJosef Bacik <jbacik@fusionio.com>2013-09-17 14:50:06 (GMT)
committerChris Mason <chris.mason@fusionio.com>2013-09-21 15:05:27 (GMT)
commitc4fbb4300abd6f662c7d5049d01f868af9874069 (patch)
treec0f6c6ccb6fa345681a453b0db9d4dc9719dad7a /fs/btrfs/ioctl.c
parent14575aef4212d2cc02274bf1f5456f3e644f03f8 (diff)
downloadlinux-c4fbb4300abd6f662c7d5049d01f868af9874069.tar.xz
Btrfs: fix worst case calculator for space usage
Forever ago I made the worst case calculator say that we could potentially split into 3 blocks for every level on the way down, which isn't right. If we split we're only going to get two new blocks, the one we originally cow'ed and the new one we're going to split. Thanks, Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/ioctl.c')
0 files changed, 0 insertions, 0 deletions