Btrfs: pick up the code for the item number calculation in flush_space()
authorMiao Xie <miaox@cn.fujitsu.com>
Mon, 4 Nov 2013 15:13:22 +0000 (23:13 +0800)
committerChris Mason <chris.mason@fusionio.com>
Tue, 12 Nov 2013 03:13:23 +0000 (22:13 -0500)
This patch picked up the code that was used to calculate the number of
the items for which we need reserve space, and we will use it in the next
patch.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/extent-tree.c

Simple merge