fuse: use DIV_ROUND_UP helper macro for calculations
authorWu Bo <wubo40@huawei.com>
Tue, 25 May 2021 07:40:47 +0000 (15:40 +0800)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 22 Jun 2021 07:15:36 +0000 (09:15 +0200)
commit6c88632be3827899953d9bc2260da378394007b7
treec785fb4990db43ae51276e02319431c07681997f
parent15db16837a35d8007cb8563358787412213db25e
fuse: use DIV_ROUND_UP helper macro for calculations

Replace open coded divisor calculations with the DIV_ROUND_UP kernel macro
for better readability.

Signed-off-by: Wu Bo <wubo40@huawei.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/fuse/file.c