ext4: disallow changing journal_csum option during remount
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 30 Oct 2014 14:53:16 +0000 (10:53 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 30 Oct 2014 14:53:16 +0000 (10:53 -0400)
commit6b992ff25658367089db4a82666e232b65d55eae
tree63b2916871a586d14d7211a72fb20b4f7fe82abd
parent98c1a7593fa355fda7f5a5940c8bf5326ca964ba
ext4: disallow changing journal_csum option during remount

ext4 does not permit changing the metadata or journal checksum feature
flag while mounted.  Until we decide to support that, don't allow a
remount to change the journal_csum flag (right now we silently fail to
change anything).

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c