ext3: call ext3_mark_recovery_complete() when recovery is really needed
authorEryu Guan <guaneryu@gmail.com>
Tue, 1 Nov 2011 02:06:19 +0000 (10:06 +0800)
committerJan Kara <jack@suse.cz>
Wed, 9 Nov 2011 11:23:17 +0000 (12:23 +0100)
commit63894ab9f63a688f6b0b8cdd01ac0a9f36d507b8
tree6832649db558fd5f334353d3cb107c939b44dd2f
parent19e0bafc36abd84a5b4d7c7745b78a6f4626e944
ext3: call ext3_mark_recovery_complete() when recovery is really needed

Call ext3_mark_recovery_complete() in ext3_fill_super() only if
needs_recovery is non-zero.

Besides that, print out "recovery complete" message after calling
ext3_mark_recovery_complete().

Cc: Jan Kara <jack@suse.cz>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext3/super.c