]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: don't fail remount if journalling mode didn't change
authorLukas Czerner <lczerner@redhat.com>
Mon, 20 Dec 2021 15:26:57 +0000 (16:26 +0100)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 23 Dec 2021 15:28:13 +0000 (10:28 -0500)
commit2cadc5e1df6d19f1935389b4bf6317d20447e536
treeee1947b767e2ee4f09053fa5474d61c7827ab7bb
parent931e6ed732e4a780cbe1ad096183bd5c88ad66d2
ext4: don't fail remount if journalling mode didn't change

Switching to the new mount api introduced inconsistency in how the
journalling mode mount option (data=) is handled during a remount.

Ext4 always prevented changing the journalling mode during the remount,
however the new code always fails the remount when the journalling mode
is specified, even if it remains unchanged. Fix it.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reported-by: Heiner Kallweit <hkallweit1@gmail.com>
Fixes: 702ba83a739f ("ext4: switch to the new mount api")
Link: https://lore.kernel.org/r/20211220152657.101599-1-lczerner@redhat.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c