diff options
author | Chao Yu <yuchao0@huawei.com> | 2020-04-08 19:55:17 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2020-05-11 20:37:13 -0700 |
commit | 4fec3fc026717f81e34fca59937b0acbfb05642d (patch) | |
tree | 3fe7043d02e277ce19ca2decd22f4912cc65a5ca /fs/f2fs/gc.c | |
parent | c75488fb4d82b697f381f855bf5b16779df440aa (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