]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:33:31 +0000 (13:33 -0800)
commit6e551814bc3b7a56bb764dfad3567599c1ca93cc
tree168ed5d247498cea8d2b7980cbd1c2b1547182ab
parentb81d08ba841ec0f57bd8e965634dd3bdf54e56a1
ext4: fix NULL pointer dereference in print_daily_error_info()

commit a1c6c5698d53db4c47a25c3a8d11731a4d7b8370 upstream.

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>
Cc: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext4/super.c