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 <andreas.dilger@intel.com>
Wed, 24 Apr 2013 04:49:41 +0000 (22:49 -0600)
commitb100365b94fa67a7930a22a8ecf4f0f1df51ab28
tree5800cb7d970cd754814cf94b070602c99c2cf485
parent8e71a290752131bb1410d5958c83ee6238c915e7
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 <andreas.dilger@intel.com>
misc/tune2fs.c