ext4: make ext4_abort() use __ext4_error()
authorJan Kara <jack@suse.cz>
Fri, 27 Nov 2020 11:33:57 +0000 (12:33 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 17 Dec 2020 18:30:55 +0000 (13:30 -0500)
commit014c9caa29d3a44e0de695c99ef18bec3e887d52
tree82a8a59af0a8eb8f61d18fd52f7bac14c423a6c2
parent93c20bc3eafba52c134cf5183f18833b9bd22bf8
ext4: make ext4_abort() use __ext4_error()

The only difference between __ext4_abort() and __ext4_error() is that
the former one ignores errors=continue mount option. Unify the code to
reduce duplication.

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Link: https://lore.kernel.org/r/20201127113405.26867-5-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4.h
fs/ext4/ext4_jbd2.c
fs/ext4/inode.c
fs/ext4/super.c