]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: avoid panic during forced reboot due to aborted journal
authorJan Kara <jack@suse.cz>
Fri, 17 May 2019 21:37:18 +0000 (17:37 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 17 May 2019 21:37:18 +0000 (17:37 -0400)
commite9ec10756fb1cc94bd1211c3c781b44737d5305d
tree6bd37706c433de9323cf7b7a7ac8e8224702ea05
parentcaf45ca8335c823e071054b2e4a4b8d0cf7b68ff
ext4: avoid panic during forced reboot due to aborted journal

Handling of aborted journal is a special code path different from
standard ext4_error() one and it can call panic() as well. Commit
4af39fc17ca4 ("ext4: avoid panic during forced reboot") forgot to update
this path so fix that omission.

Fixes: 4af39fc17ca4 ("ext4: avoid panic during forced reboot")
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@kernel.org # 5.1
fs/ext4/super.c