Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c62a89ba authored by Chao Yu's avatar Chao Yu Committed by Jaegeuk Kim
Browse files

f2fs: mark inode dirty explicitly in recover_inode()



Mark inode dirty explicitly in the end of recover_inode() to make sure
that all recoverable fields can be persisted later.

Signed-off-by: default avatarChao Yu <yuchao0@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent ada3b8e8
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -239,6 +239,8 @@ static void recover_inode(struct inode *inode, struct page *page)

	recover_inline_flags(inode, raw);

	f2fs_mark_inode_dirty_sync(inode, true);

	if (file_enc_name(inode))
		name = "<encrypted>";
	else