]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf09e7e4739af6ace03863b055b74f65ae7dfbb81
tree63b2916871a586d14d7211a72fb20b4f7fe82abd
parentbc53de10897e8580a22a667b0d5e8b12b092e5d3
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