Skip to content

Commit

Permalink
ext4: Return the PTR_ERR of the correct pointer in setup_new_group_bl…
Browse files Browse the repository at this point in the history
…ocks()

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
  • Loading branch information
Roel Kluin authored and Theodore Ts'o committed Dec 7, 2009
1 parent e6ec116 commit c09eef3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ext4/resize.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,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;
}
ext4_handle_dirty_metadata(handle, NULL, gdb);
Expand Down

0 comments on commit c09eef3

Please sign in to comment.