|
@@ -4858,9 +4858,8 @@ static int ext4_remount(struct super_block *sb, int *flags, char *data)
|
|
if ((old_opts.s_mount_opt & EXT4_MOUNT_JOURNAL_CHECKSUM) ^
|
|
if ((old_opts.s_mount_opt & EXT4_MOUNT_JOURNAL_CHECKSUM) ^
|
|
test_opt(sb, JOURNAL_CHECKSUM)) {
|
|
test_opt(sb, JOURNAL_CHECKSUM)) {
|
|
ext4_msg(sb, KERN_ERR, "changing journal_checksum "
|
|
ext4_msg(sb, KERN_ERR, "changing journal_checksum "
|
|
- "during remount not supported");
|
|
|
|
- err = -EINVAL;
|
|
|
|
- goto restore_opts;
|
|
|
|
|
|
+ "during remount not supported; ignoring");
|
|
|
|
+ sbi->s_mount_opt ^= EXT4_MOUNT_JOURNAL_CHECKSUM;
|
|
}
|
|
}
|
|
|
|
|
|
if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) {
|
|
if (test_opt(sb, DATA_FLAGS) == EXT4_MOUNT_JOURNAL_DATA) {
|