From: Theodore Ts'o Date: Fri, 12 Dec 2008 17:41:28 +0000 (-0500) Subject: ext4: remove do_blk_alloc() X-Git-Tag: v2.6.29-rc1~40^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97df5d155dee478efe33b001f502e9630e1bba92;p=pandora-kernel.git 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" --- Reading git-diff-tree failed