f2fs: use round_up to enhance calculation
authorChao Yu <yuchao0@huawei.com>
Wed, 8 Apr 2020 11:55:17 +0000 (19:55 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 12 May 2020 03:37:13 +0000 (20:37 -0700)
commit4fec3fc026717f81e34fca59937b0acbfb05642d
tree3fe7043d02e277ce19ca2decd22f4912cc65a5ca
parentc75488fb4d82b697f381f855bf5b16779df440aa
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>
fs/f2fs/file.c