Whamcloud - gitweb
tune2fs: warn if the filesystem journal is dirty
authorAndreas Dilger <andreas.dilger@intel.com>
Thu, 12 Apr 2012 23:38:13 +0000 (17:38 -0600)
committerLi Dongyang <dongyangli@ddn.com>
Wed, 29 May 2019 04:46:01 +0000 (14:46 +1000)
commit27269dc9040100072c88865d70b4cc75394a0553
tree1422fd790d021272f34bdbe5dc92bb0f169db145
parentdcee1c142386ba340b94b18bdb9e796173cda06e
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