diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-12-12 18:41:28 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-12-12 18:41:28 +0100 |
commit | 97df5d155dee478efe33b001f502e9630e1bba92 (patch) | |
tree | 11847bd119be9b68365a2fa4beb5f95f691162b1 /include/asm-m68k/sbus.h | |
parent | ext4: remove ext4_new_meta_block() (diff) | |
download | linux-97df5d155dee478efe33b001f502e9630e1bba92.tar.xz linux-97df5d155dee478efe33b001f502e9630e1bba92.zip |
ext4: remove do_blk_alloc()
The convenience function do_blk_alloc() is a static function with only
one caller, so fold it into ext4_new_meta_blocks() to simplify the
code and to make it easier to understand.
To save more stack space, if count is a null pointer in
ext4_new_meta_blocks() assume that caller wanted a single block (and
if there is an error, no blocks were allocated).
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'include/asm-m68k/sbus.h')
0 files changed, 0 insertions, 0 deletions