diff options
author | Chao Yu <chao@kernel.org> | 2024-11-08 04:25:55 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2024-11-21 19:12:29 +0300 |
commit | 7461f37094180200cb2f98e60ef99a0cea97beec (patch) | |
tree | 4276a1e64cf710411e9869cba6c1a4abbc606cbe /rust/helpers/helpers.c | |
parent | 3273d8ad947dea925a65a78ca29e5351c960c801 (diff) | |
download | linux-7461f37094180200cb2f98e60ef99a0cea97beec.tar.xz |
f2fs: clean up w/ F2FS_{BLK_TO_BYTES,BTYES_TO_BLK}
f2fs doesn't support different blksize in one instance, so
bytes_to_blks() and blks_to_bytes() are equal to F2FS_BYTES_TO_BLK
and F2FS_BLK_TO_BYTES, let's use F2FS_BYTES_TO_BLK/F2FS_BLK_TO_BYTES
instead for cleanup.
Reviewed-by: Zhiguo Niu <zhiguo.niu@unisoc.com>
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions