summaryrefslogtreecommitdiff
path: root/fs/f2fs/gc.c
diff options
context:
space:
mode:
authorChao Yu <yuchao0@huawei.com>2020-04-08 19:55:17 +0800
committerJaegeuk Kim <jaegeuk@kernel.org>2020-05-11 20:37:13 -0700
commit4fec3fc026717f81e34fca59937b0acbfb05642d (patch)
tree3fe7043d02e277ce19ca2decd22f4912cc65a5ca /fs/f2fs/gc.c
parentc75488fb4d82b697f381f855bf5b16779df440aa (diff)
f2fs: use round_up to enhance calculation
.i_cluster_size should be power of 2, so we can use round_up() instead of roundup() to enhance the calculation. Signed-off-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/gc.c')
0 files changed, 0 insertions, 0 deletions