summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/node.c
diff options
context:
space:
mode:
authorYunlei He <heyunlei@huawei.com>2017-12-06 11:31:29 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2018-01-02 19:27:30 -0800
commitc376fc0f3581c0b08099b0b7bfa448c30bc71c0c (patch)
tree3c880c7e0ca2bb60920d514f62a4242e90837f7e /fs/f2fs/node.c
parentfab2adee36039cdc2002ba3fe3a416c3f1bc6b52 (diff)
downloadlinux-c376fc0f3581c0b08099b0b7bfa448c30bc71c0c.tar.bz2
f2fs: no need return value in restore summary process
No need return value in restore summary process Signed-off-by: Yunlei He <heyunlei@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/node.c')
-rw-r--r--fs/f2fs/node.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
index a9c340e43af9..35b079d98c17 100644
--- a/fs/f2fs/node.c
+++ b/fs/f2fs/node.c
@@ -2325,7 +2325,7 @@ retry:
return 0;
}
-int restore_node_summary(struct f2fs_sb_info *sbi,
+void restore_node_summary(struct f2fs_sb_info *sbi,
unsigned int segno, struct f2fs_summary_block *sum)
{
struct f2fs_node *rn;
@@ -2358,7 +2358,6 @@ int restore_node_summary(struct f2fs_sb_info *sbi,
invalidate_mapping_pages(META_MAPPING(sbi), addr,
addr + nrpages);
}
- return 0;
}
static void remove_nats_in_journal(struct f2fs_sb_info *sbi)