]> git.itanic.dy.fi Git - linux-stable/commit
ext4: ignore journal checksum on remount; don't fail
authorEric Sandeen <sandeen@redhat.com>
Fri, 13 Feb 2015 04:07:37 +0000 (23:07 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Feb 2015 01:49:02 +0000 (17:49 -0800)
commit4e55dad93ed97ddcce8f4517683cf9aafa22337b
tree18d5881afe9deb4f86e7466e5280ea15f4bd9d17
parenta17ad4adfff6ebd29c0f07177b5236c0e7f04ac9
ext4: ignore journal checksum on remount; don't fail

commit 2d5b86e048780c5efa7f7d9708815555919e7b05 upstream.

As of v3.18, ext4 started rejecting a remount which changes the
journal_checksum option.

Prior to that, it was simply ignored; the problem here is that
if someone has this in their fstab for the root fs, now the box
fails to boot properly, because remount of root with the new options
will fail, and the box proceeds with a readonly root.

I think it is a little nicer behavior to accept the option, but
warn that it's being ignored, rather than failing the mount,
but that might be a subjective matter...

Reported-by: Cónräd <conradsand.arma@gmail.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/super.c