Ext2: remove the static function release_blocks to optimize the kernel
authorWang Shilong <wangsl-fnst@cn.fujitsu.com>
Thu, 7 Feb 2013 14:57:54 +0000 (22:57 +0800)
committerJan Kara <jack@suse.cz>
Thu, 7 Feb 2013 15:44:56 +0000 (16:44 +0100)
commit712ddc52ffa1f5324cd8f682d9e5b047b91f34d3
tree33fede0d1a4366469f2a923fa7bd9e62a7f5c5c3
parent8e3dffc651cb668e1ff4d8b89cc1c3dde7540d3b
Ext2: remove the static function release_blocks to optimize the kernel

Because the static function 'release_blocks' is only called
when releasing blocks,it will be more simple and efficient to
call the function 'percpu_counter_add' directly.

Signed-off-by: Wang Shilong <wangsl-fnst@cn.fujitsu.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/balloc.c