From: Roel Kluin Date: Mon, 7 Dec 2009 15:38:16 +0000 (-0500) Subject: ext4: Return the PTR_ERR of the correct pointer in setup_new_group_blocks() X-Git-Tag: MMI-PSA29.97-13-9~25696^2~12 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c09eef305dd43846360944ad072f051f964fa383;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ext4: Return the PTR_ERR of the correct pointer in setup_new_group_blocks() Signed-off-by: Roel Kluin Signed-off-by: "Theodore Ts'o" --- diff --git a/fs/ext4/resize.c b/fs/ext4/resize.c index 3cfc343c41b5..3b2c5541d8a6 100644 --- a/fs/ext4/resize.c +++ b/fs/ext4/resize.c @@ -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);