]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: fix NULL pointer dereference in print_daily_error_info()
authorSergey Senozhatsky <sergey.senozhatsky@gmail.com>
Thu, 28 Oct 2010 01:30:04 +0000 (21:30 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 28 Oct 2010 01:30:04 +0000 (21:30 -0400)
commitdb44e44513f5ef2a925047fbd247fde09378efe1
tree4c0b46a74ea1699f8a5e2765a432fec35fb38bcb
parent166e9c48c74d362ec73fe1f40845806d994b25e9
ext4: fix NULL pointer dereference in print_daily_error_info()

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