Commit 66c3a718 authored by Roel Kluin's avatar Roel Kluin Committed by Greg Kroah-Hartman

ext4: Return the PTR_ERR of the correct pointer in setup_new_group_blocks()

(cherry picked from commit c09eef30)
Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 86d291a3
...@@ -247,7 +247,7 @@ static int setup_new_group_blocks(struct super_block *sb, ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment