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, 15 Aug 2018 02:08:04 +0000 (12:08 +1000)
commitc7c5d847fe0cc1e549508f7f56b2d1549b966536
tree1ebd408081f222aa20a1d5b50ed31b95a546feca
parent69c41844d6e393ad658cfa5b4186432561fe73e1
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