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)
commit2c1d0e3631e5732dba98ef49ac0bec1388776793
tree6bd37706c433de9323cf7b7a7ac8e8224702ea05
parent170417c8c7bb2cbbdd949bf5c443c0c8f24a203b
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
1dc1097ff60e ("ext4: avoid panic during forced reboot") forgot to update
this path so fix that omission.

Fixes: 1dc1097ff60e ("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