]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ext4: remove ext4_new_blocks() and call ext4_mb_new_blocks() directly
authorTheodore Ts'o <tytso@mit.edu>
Fri, 2 Jan 2009 04:59:43 +0000 (23:59 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 2 Jan 2009 04:59:43 +0000 (23:59 -0500)
commit815a1130687ffac2c3e91513ce64aab629d6a54d
tree9abc15c6e1e44a5e5fcf1feb0f9328b09657ad59
parent8e1a4857cd92e32e642b3e7184c7f6bf85c96e2e
ext4: remove ext4_new_blocks() and call ext4_mb_new_blocks() directly

There was only one caller of the compatibility function
ext4_new_blocks(), in balloc.c's ext4_alloc_blocks().  Change it to
call ext4_mb_new_blocks() directly, and remove ext4_new_blocks()
altogether.  This cleans up the code, by removing two extra functions
from the call chain, and hopefully saving some stack usage.

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