Whamcloud - gitweb
tune2fs: warn if the filesystem journal is dirty
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 12 Apr 2012 23:38:13 +0000 (17:38 -0600)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 30 May 2012 22:15:02 +0000 (16:15 -0600)
commitaf8b9177d07f2a0d701a8f6ebc8266809082183b
tree362a58f49d128ce90ff0f9ddf718a4f77f46add0
parentc0f0ead7a764e8274443b44c0e344ce78b9932a2
tune2fs: warn if the filesystem journal is dirty

Running tune2fs on a filesystem with an unrecovered journal can
cause the tune2fs settings to be reverted when the journal is
replayed.  Print a warning if this is detected so that the user
isn't surprised if it happens.

Signed-off-by: Jim Garlick <garlick@llnl.gov>
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
misc/tune2fs.c