reiserfs: factor out buffer_info initialization
authorJeff Mahoney <jeffm@suse.com>
Mon, 30 Mar 2009 18:02:42 +0000 (14:02 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 30 Mar 2009 19:16:39 +0000 (12:16 -0700)
commitfba4ebb5f0f84a6f9989e9591741ddff946de320
tree7d140b781292f00a70a98f0f938fc2ac6f0896c0
parent57fe60df62410f949da094d06ced1dda9575b69c
reiserfs: factor out buffer_info initialization

This is the first in a series of patches to make balance_leaf() not
quite so insane.

This patch factors out the open coded initializations of buffer_info
structures and defines a few initializers for the 4 cases they're used.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/reiserfs/do_balan.c