summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/inline.c
diff options
context:
space:
mode:
authorYunlei He <heyunlei@huawei.com>2016-02-03 10:26:13 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2016-02-22 16:07:23 -0800
commit85ead8185a7632ca28b52f3948281ad23dec9253 (patch)
tree4ec002f8e823850fc1089fd6702c1bc047c9650f /fs/f2fs/inline.c
parentfec1d6576cdf2ce13f84fcdf7b20d02a05f76fc6 (diff)
downloadlinux-85ead8185a7632ca28b52f3948281ad23dec9253.tar.gz
linux-85ead8185a7632ca28b52f3948281ad23dec9253.tar.bz2
linux-85ead8185a7632ca28b52f3948281ad23dec9253.zip
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: Yunlei He <heyunlei@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/inline.c')
-rw-r--r--fs/f2fs/inline.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c
index fc4d29845938..0be4a9b400c6 100644
--- a/fs/f2fs/inline.c
+++ b/fs/f2fs/inline.c
@@ -124,8 +124,7 @@ int f2fs_convert_inline_page(struct dnode_of_data *dn, struct page *page)
if (err)
return err;
- f2fs_wait_on_page_writeback(page, DATA, true);
-
+ f2fs_bug_on(F2FS_P_SB(page), PageWriteback(page));
if (PageUptodate(page))
goto no_update;