reiserfs: balance_leaf refactor, pull out balance_leaf_insert_right
authorJeff Mahoney <jeffm@suse.com>
Wed, 23 Apr 2014 14:00:49 +0000 (10:00 -0400)
committerJan Kara <jack@suse.cz>
Wed, 7 May 2014 16:34:44 +0000 (18:34 +0200)
commite80ef3d1488e3bfb8eb39b0643cfaffb25ed9814
tree2705e283900a62763aa339ab9d71a16f20921b53
parentcf22df182bfce50670c25ce432e679e03aff3745
reiserfs: balance_leaf refactor, pull out balance_leaf_insert_right

This patch factors out a new balance_leaf_insert_right from the code in
balance_leaf responsible for inserting new items into the node to
the right of S[0] in the tree.

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