summaryrefslogtreecommitdiffstats
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2020-11-27 12:33:57 +0100
committerTheodore Ts'o <tytso@mit.edu>2020-12-17 13:30:55 -0500
commit014c9caa29d3a44e0de695c99ef18bec3e887d52 (patch)
tree82a8a59af0a8eb8f61d18fd52f7bac14c423a6c2 /fs/ext4/inode.c
parent93c20bc3eafba52c134cf5183f18833b9bd22bf8 (diff)
downloadlinux-014c9caa29d3a44e0de695c99ef18bec3e887d52.tar.gz
linux-014c9caa29d3a44e0de695c99ef18bec3e887d52.tar.bz2
linux-014c9caa29d3a44e0de695c99ef18bec3e887d52.zip
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>
Diffstat (limited to 'fs/ext4/inode.c')
-rw-r--r--fs/ext4/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 6b44657fb3e4..ab786123a022 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -4619,7 +4619,7 @@ struct inode *__ext4_iget(struct super_block *sb, unsigned long ino,
(ino > le32_to_cpu(EXT4_SB(sb)->s_es->s_inodes_count))) {
if (flags & EXT4_IGET_HANDLE)
return ERR_PTR(-ESTALE);
- __ext4_error(sb, function, line, EFSCORRUPTED, 0,
+ __ext4_error(sb, function, line, false, EFSCORRUPTED, 0,
"inode #%lu: comm %s: iget: illegal inode #",
ino, current->comm);
return ERR_PTR(-EFSCORRUPTED);