reiserfs: balance_leaf refactor, pull out balance_leaf_paste_right
authorJeff Mahoney <jeffm@suse.com>
Wed, 23 Apr 2014 14:00:50 +0000 (10:00 -0400)
committerJan Kara <jack@suse.cz>
Wed, 7 May 2014 16:47:53 +0000 (18:47 +0200)
commit3f0eb27655bba38e3dfb14db93b2720c4eccf4a8
tree8247ab2c0c8b6142c2607aadae70c4742bf05d60
parente80ef3d1488e3bfb8eb39b0643cfaffb25ed9814
reiserfs: balance_leaf refactor, pull out balance_leaf_paste_right

This patch factors out a new balance_leaf_paste_right from the code in
balance_leaf responsible for pasting new contents into an existing item
located in the node to the right of S[0] in the tree.

It has not been reformatted yet.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/reiserfs/do_balan.c