Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e0eb401 authored by Roel Kluin's avatar Roel Kluin Committed by Jan Kara
Browse files

ext3: PTR_ERR return of wrong pointer in setup_new_group_blocks()



Return the PTR_ERR of the correct pointer.

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarJan Kara <jack@suse.cz>
parent 68eb3db0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);