aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/super.c')
-rw-r--r--fs/ext4/super.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 2ecce8644cf8..bff3427784ca 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -4858,9 +4858,8 @@ static int ext4_remount(struct super_block *sb, int *flags, char *data)
4858 if ((old_opts.s_mount_opt & EXT4_MOUNT_JOURNAL_CHECKSUM) ^ 4858 if ((old_opts.s_mount_opt & EXT4_MOUNT_JOURNAL_CHECKSUM) ^
4859 test_opt(sb, JOURNAL_CHECKSUM)) { 4859 test_opt(sb, JOURNAL_CHECKSUM)) {
4860 ext4_msg(sb, KERN_ERR, "changing journal_checksum " 4860 ext4_msg(sb, KERN_ERR, "changing journal_checksum "
4861 "during remount not supported"); 4861 "during remount not supported; ignoring");
4862 err = -EINVAL; 4862 sbi->s_mount_opt ^= EXT4_MOUNT_JOURNAL_CHECKSUM;
4863 goto restore_opts;
4864 } 4863 }
4865 4864
4866 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) { 4865 if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) {