summaryrefslogtreecommitdiffstats
path: root/block/blk-softirq.c
diff options
context:
space:
mode:
authorYan Zheng <zheng.yan@oracle.com>2008-12-17 16:21:48 +0100
committerChris Mason <chris.mason@oracle.com>2008-12-17 16:21:48 +0100
commit87b29b208c6c38f3446d2de6ece946e2459052cf (patch)
tree43e717289e1e8446fced4093ab39667bba9ea60a /block/blk-softirq.c
parentBtrfs: fix return value from btrfs_listxattr when buffer size is too small (diff)
downloadlinux-87b29b208c6c38f3446d2de6ece946e2459052cf.tar.xz
linux-87b29b208c6c38f3446d2de6ece946e2459052cf.zip
Btrfs: properly check free space for tree balancing
btrfs_insert_empty_items takes the space needed by the btrfs_item structure into account when calculating the required free space. So the tree balancing code shouldn't add sizeof(struct btrfs_item) to the size when checking the free space. This patch removes these superfluous additions. Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
Diffstat (limited to 'block/blk-softirq.c')
0 files changed, 0 insertions, 0 deletions