dect
/
linux-2.6
Archived
13
0
Fork 0

ext3: PTR_ERR return of wrong pointer in setup_new_group_blocks()

Return the PTR_ERR of the correct pointer.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
Roel Kluin 2009-12-07 14:50:11 +01:00 committed by Jan Kara
parent 68eb3db083
commit 8e0eb4011b
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ static int setup_new_group_blocks(struct super_block *sb,
goto exit_bh;
if (IS_ERR(gdb = bclean(handle, sb, block))) {
err = PTR_ERR(bh);
err = PTR_ERR(gdb);
goto exit_bh;
}
ext3_journal_dirty_metadata(handle, gdb);