OSDN Git Service

debugfs: manage needs_recover feature when messing with the journal
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 19 Sep 2014 06:01:43 +0000 (02:01 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 19 Sep 2014 06:01:43 +0000 (02:01 -0400)
commit53c5d6062e2c13bf180605bf84147e06018794e2
tree49164511c5f128f44b38f1322fa9180df36e19d8
parent755a6083d8b5e1ac4ddcb1aaeb307771fe181543
debugfs: manage needs_recover feature when messing with the journal

Set the needs_recover incompat feature when debugfs writes journal
transactions so that we actually replay the journal contents at the
next mount.

Likewise, clear it if we successfully recover the journal.

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