/* Called by LVM after the snapshot is done. We need to reset the RECOVER flag here, even though the filesystem is not technically dirty yet.  */
static int ext4_unfreeze(struct super_block *sb)
/* Called by LVM after the snapshot is done. We need to reset the RECOVER flag here, even though the filesystem is not technically dirty yet.  */
static int ext4_unfreeze(struct super_block *sb)
{
	if (sb->s_flags & MS_RDONLY)
		return 0;
	lock_super(sb);
	EXT4_SET_INCOMPAT_FEATURE(sb, EXT4_FEATURE_INCOMPAT_RECOVER);
	ext4_commit_super(sb, 1);
	unlock_super(sb);
	jbd2_journal_unlock_updates(EXT4_SB(sb)->s_journal);
	return 0;
}