f2fs: mark inode dirty explicitly in recover_inode()
[ Upstream commit 4a1728cad6 ]
Mark inode dirty explicitly in the end of recover_inode() to make sure
that all recoverable fields can be persisted later.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a4bd303d67
commit
36ffc9a76d
1 changed files with 2 additions and 0 deletions
|
|
@ -247,6 +247,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue