projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53fdcf9
)
ext4: fix NULL pointer dereference in print_daily_error_info()
author
Sergey Senozhatsky
<sergey.senozhatsky@gmail.com>
Thu, 28 Oct 2010 01:30:04 +0000
(21:30 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Thu, 28 Oct 2010 01:30:04 +0000
(21:30 -0400)
Fix NULL pointer dereference in print_daily_error_info, when
called on unmounted fs (EXT4_SB(sb) returns NULL), by removing error
reporting timer in ext4_put_super.
Google-Bug-Id:
3017663
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/super.c
patch
|
blob
|
history
diff --git
a/fs/ext4/super.c
b/fs/ext4/super.c
index 26147746c272c2112b7067aa6415800434586b50..751997d2cefe555803b61fb68d8c23aa867b3016 100644
(file)
--- a/
fs/ext4/super.c
+++ b/
fs/ext4/super.c
@@
-719,6
+719,7
@@
static void ext4_put_super(struct super_block *sb)
ext4_abort(sb, "Couldn't clean up the journal");
}
+ del_timer(&sbi->s_err_report);
ext4_release_system_zone(sb);
ext4_mb_release(sb);
ext4_ext_release(sb);