Commit 85ead818 authored by Yunlei He's avatar Yunlei He Committed by Jaegeuk Kim

f2fs: delete unnecessary wait for page writeback

no need to wait inline file page writeback for no one
use it, so this patch delete unnecessary wait.
Signed-off-by: default avatarYunlei He <heyunlei@huawei.com>
Signed-off-by: default avatarJaegeuk Kim <jaegeuk@kernel.org>
parent fec1d657
...@@ -124,8 +124,7 @@ int f2fs_convert_inline_page(struct dnode_of_data *dn, struct page *page) ...@@ -124,8 +124,7 @@ int f2fs_convert_inline_page(struct dnode_of_data *dn, struct page *page)
if (err) if (err)
return err; return err;
f2fs_wait_on_page_writeback(page, DATA, true); f2fs_bug_on(F2FS_P_SB(page), PageWriteback(page));
if (PageUptodate(page)) if (PageUptodate(page))
goto no_update; goto no_update;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment