ext4: fold ext4_alloc_blocks() in ext4_alloc_branch()
authorTheodore Ts'o <tytso@mit.edu>
Wed, 3 Apr 2013 16:43:17 +0000 (12:43 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 3 Apr 2013 16:43:17 +0000 (12:43 -0400)
commit781f143ea0fd7981ebe2e8cd96114997c8cf6c07
tree9fd95275bc71ec7f632719bd6040b8046c8d94fd
parenteed4333f087b45e325d5b9ab29665d82ae9cab88
ext4: fold ext4_alloc_blocks() in ext4_alloc_branch()

The older code was far more complicated than it needed to be because
of how we spliced in the ext4's new multiblock allocator into ext3's
indirect block code.  By folding ext4_alloc_blocks() into
ext4_alloc_branch(), we make the code far more understable, shave off
over 130 lines of code and half a kilobyte of compiled object code.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/indirect.c