summaryrefslogtreecommitdiff
path: root/fs/f2fs/segment.c
diff options
context:
space:
mode:
authorYuan Zhong <yuan.mark.zhong@samsung.com>2014-01-10 11:26:14 +0400
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2014-01-14 12:45:54 +0400
commit5514f0aadddcdfaaaea697b60203f5402552eb7b (patch)
treef793bcf65d650075f2739ac1d681d370780a9d50 /fs/f2fs/segment.c
parent3bac380c901206bccba1f5b108c1c8382ab21a16 (diff)
downloadlinux-5514f0aadddcdfaaaea697b60203f5402552eb7b.tar.xz
f2fs: remove the needless parameter of f2fs_wait_on_page_writeback
"boo sync" parameter is never referenced in f2fs_wait_on_page_writeback. We should remove this parameter. Signed-off-by: Yuan Zhong <yuan.mark.zhong@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/segment.c')
-rw-r--r--fs/f2fs/segment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c
index 5f84639354e3..a934e6f2738b 100644
--- a/fs/f2fs/segment.c
+++ b/fs/f2fs/segment.c
@@ -1053,7 +1053,7 @@ void rewrite_node_page(struct f2fs_sb_info *sbi,
}
void f2fs_wait_on_page_writeback(struct page *page,
- enum page_type type, bool sync)
+ enum page_type type)
{
struct f2fs_sb_info *sbi = F2FS_SB(page->mapping->host->i_sb);
if (PageWriteback(page)) {