]> 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)
commit89caefac1d4d920849b39459568262d903083500
tree6bd37706c433de9323cf7b7a7ac8e8224702ea05
parenta959518067c6aeb01742f8a9765576d679da9c8d
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
8ffe60cd05b7 ("ext4: avoid panic during forced reboot") forgot to update
this path so fix that omission.

Fixes: 8ffe60cd05b7 ("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