Btrfs: Properly update right_nritems in push_leaf_left
authorYan <yanzheng@21cn.com>
Mon, 26 Nov 2007 15:58:13 +0000 (10:58 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:58 +0000 (11:03 -0400)
commiteef1c494a2d4212e13c67d05e9cc3cd1e6dfed5d
tree71008c91fbe6cd34eb77827e1e7325082c023e91
parent0e4de58432f552c0ecead965b0fad8a9fb1d31ec
Btrfs: Properly update right_nritems in push_leaf_left

The codes that fixup the right leaf and the codes that dirty the
extnet buffer use the variable 'right_nritems' ,  both of them expect
'right_nritems' is the number of items in right leaf after the push.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/ctree.c