summaryrefslogtreecommitdiff
path: root/fs/f2fs/recovery.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2020-06-22 12:38:48 +0300
committerJaegeuk Kim <jaegeuk@kernel.org>2020-07-08 07:51:48 +0300
commit901d745f8e6a61a835b12314d8b8a41df7012596 (patch)
tree8a01d103f3614f4d3f31e152a90b8a793d1a708a /fs/f2fs/recovery.c
parent9039d8355d6e37647b31a42122a26f1858a2470a (diff)
downloadlinux-901d745f8e6a61a835b12314d8b8a41df7012596.tar.xz
f2fs: split f2fs_allocate_new_segments()
to two independent functions: - f2fs_allocate_new_segment() for specified type segment allocation - f2fs_allocate_new_segments() for all data type segments allocation Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/recovery.c')
-rw-r--r--fs/f2fs/recovery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/recovery.c b/fs/f2fs/recovery.c
index ae5310f02e7f..af974ba273b3 100644
--- a/fs/f2fs/recovery.c
+++ b/fs/f2fs/recovery.c
@@ -742,7 +742,7 @@ next:
f2fs_put_page(page, 1);
}
if (!err)
- f2fs_allocate_new_segments(sbi, NO_CHECK_TYPE);
+ f2fs_allocate_new_segments(sbi);
return err;
}