mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
ext4: Return the PTR_ERR of the correct pointer in setup_new_group_blocks()
Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
parent
e6ec116b67
commit
c09eef305d
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ static int setup_new_group_blocks(struct super_block *sb,
|
||||||
goto exit_bh;
|
goto exit_bh;
|
||||||
|
|
||||||
if (IS_ERR(gdb = bclean(handle, sb, block))) {
|
if (IS_ERR(gdb = bclean(handle, sb, block))) {
|
||||||
err = PTR_ERR(bh);
|
err = PTR_ERR(gdb);
|
||||||
goto exit_bh;
|
goto exit_bh;
|
||||||
}
|
}
|
||||||
ext4_handle_dirty_metadata(handle, NULL, gdb);
|
ext4_handle_dirty_metadata(handle, NULL, gdb);
|
||||||
|
|
Loading…
Reference in a new issue