diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-12-07 08:50:11 -0500 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2009-12-10 09:02:55 -0500 |
commit | 8e0eb4011bd73d5f91b215b532f74eef478ef795 (patch) | |
tree | 53d60cdbb1a1a00e9787347aabb631e862b44969 /fs/ext3/resize.c | |
parent | 68eb3db08344286733adac48304d9fb7a0e53b27 (diff) |
ext3: PTR_ERR return of wrong pointer in setup_new_group_blocks()
Return the PTR_ERR of the correct pointer.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext3/resize.c')
-rw-r--r-- | fs/ext3/resize.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext3/resize.c b/fs/ext3/resize.c index 8359e7b3dc89..5f83b6179178 100644 --- a/fs/ext3/resize.c +++ b/fs/ext3/resize.c | |||
@@ -266,7 +266,7 @@ static int setup_new_group_blocks(struct super_block *sb, | |||
266 | goto exit_bh; | 266 | goto exit_bh; |
267 | 267 | ||
268 | if (IS_ERR(gdb = bclean(handle, sb, block))) { | 268 | if (IS_ERR(gdb = bclean(handle, sb, block))) { |
269 | err = PTR_ERR(bh); | 269 | err = PTR_ERR(gdb); |
270 | goto exit_bh; | 270 | goto exit_bh; |
271 | } | 271 | } |
272 | ext3_journal_dirty_metadata(handle, gdb); | 272 | ext3_journal_dirty_metadata(handle, gdb); |