ext4: fix error processing in mb_free_blocks
authorShen Feng <shen@cn.fujitsu.com>
Mon, 14 Jul 2008 01:03:31 +0000 (21:03 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 14 Jul 2008 01:03:31 +0000 (21:03 -0400)
The error processing of the return value of mb_free_blocks is meanless
because it only returns 0.  This fix includes

- make mb_free_blocks return void

- remove the error processing part in callers

- unlock group before calling ext4_error in mb_free_blocks

Signed-off-by: Shen Feng <shen@cn.fujitsu.com>
Cc: Mingming Cao <cmm@us.ibm.com>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>

No differences found