diff options
author | Shen Feng <shen@cn.fujitsu.com> | 2008-07-14 03:03:31 +0200 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-07-14 03:03:31 +0200 |
commit | 7e5a8cdd843b7af8d6d38a9bf96306145edb66e0 (patch) | |
tree | 68c9dd5f35938520333f2c364a48c94f4e38566b /fs/ext4/ext4_jbd2.h | |
parent | ext4: error proc entry creation when the fs/ext4 is not correctly created (diff) | |
download | linux-7e5a8cdd843b7af8d6d38a9bf96306145edb66e0.tar.xz linux-7e5a8cdd843b7af8d6d38a9bf96306145edb66e0.zip |
ext4: fix error processing in mb_free_blocks
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>
Diffstat (limited to 'fs/ext4/ext4_jbd2.h')
0 files changed, 0 insertions, 0 deletions