Files
linux/fs
Andreas Dilger e8816d3bc5 ext4: don't update s_rev_level if not required
commit c9e716eb9b upstream.

Don't update the superblock s_rev_level during mount if it isn't
actually necessary, only if superblock features are being set by
the kernel.  This was originally added for ext3 since it always
set the INCOMPAT_RECOVER and HAS_JOURNAL features during mount,
but this is not needed since no journal mode was added to ext4.

That will allow Geert to mount his 20-year-old ext2 rev 0.0 m68k
filesystem, as a testament of the backward compatibility of ext4.

Fixes: 0390131ba8 ("ext4: Allow ext4 to run without a journal")
Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-05-22 07:37:46 +02:00
..
2018-11-13 11:08:46 -08:00
2018-12-17 09:24:41 +01:00
2018-08-17 16:20:28 -07:00
2019-05-22 07:37:44 +02:00
2018-05-22 14:27:52 -04:00
2018-08-17 16:20:27 -07:00
2018-05-22 14:27:52 -04:00
2019-05-02 09:58:59 +02:00
2018-07-03 16:44:45 -04:00
2018-06-05 19:23:26 +02:00
2019-03-10 07:17:21 +01:00
2018-06-11 08:22:34 -07:00
2018-02-15 15:34:42 -05:00