projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68eb3db
)
ext3: PTR_ERR return of wrong pointer in setup_new_group_blocks()
author
Roel Kluin
<roel.kluin@gmail.com>
Mon, 7 Dec 2009 13:50:11 +0000
(14:50 +0100)
committer
Jan Kara
<jack@suse.cz>
Thu, 10 Dec 2009 14:02:55 +0000
(15:02 +0100)
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>
fs/ext3/resize.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext3/resize.c
b/fs/ext3/resize.c
index 8359e7b3dc895b5bfc9b2e26f63c0c6de3227acc..5f83b61791786a06eba1d5014697bfbf31fa47ab 100644
(file)
--- a/
fs/ext3/resize.c
+++ b/
fs/ext3/resize.c
@@
-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);