Whamcloud - gitweb
tune2fs: don't change metadata_csum on a mounted fs
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 4 Nov 2014 16:52:26 +0000 (11:52 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 4 Nov 2014 16:52:26 +0000 (11:52 -0500)
commita4b528692ed7c2d7bdeb1313cfaef3a14f5267a0
tree932fcc3323cb179e5c885985cdcfe05682fcf85c
parent8302e2e68813fa1b18b15cbeab7d7a58934553ea
tune2fs: don't change metadata_csum on a mounted fs

Don't let users change metadata_csum on a mounted filesystem because
there's no way to tell the kernel to turn on the feature; there's no
way to prevent the kernel from rewriting on-disk structures while
tune2fs is also rewriting them; and there's no way to tell the kernel
to reload them after tune2fs is finished.

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