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)
commita1c6c5698d53db4c47a25c3a8d11731a4d7b8370
tree4c0b46a74ea1699f8a5e2765a432fec35fb38bcb
parent53fdcf992d616484d388a8ab9dad07dc8b8f1178
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