f2fs: change segment to section in f2fs_ioc_gc_range
authorYunlong Song <yunlong.song@huawei.com>
Tue, 30 Oct 2018 12:37:55 +0000 (20:37 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 26 Nov 2018 23:53:56 +0000 (15:53 -0800)
commit67b0e42b768c9ddc3fd5ca1aee3db815cfaa635c
tree8da49c579ace86d4d50569149d06af45c48a88d5
parent3465557556b45a933cf3566d4040fd66aa2fc87b
f2fs: change segment to section in f2fs_ioc_gc_range

f2fs_ioc_gc_range skips blocks_per_seg each time, however, f2fs_gc moves
blocks of section each time, so fix it from segment to section.

Signed-off-by: Yunlong Song <yunlong.song@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/file.c