diff options
author | 2024-11-08 09:25:55 +0800 | |
---|---|---|
committer | 2024-11-21 16:12:29 +0000 | |
commit | 7461f37094180200cb2f98e60ef99a0cea97beec (patch) | |
tree | 4276a1e64cf710411e9869cba6c1a4abbc606cbe /scripts/lib/kdoc/kdoc_files.py | |
parent | f2fs: fix to do cast in F2FS_{BLK_TO_BYTES, BTYES_TO_BLK} to avoid overflow (diff) | |
download | wireguard-linux-7461f37094180200cb2f98e60ef99a0cea97beec.tar.xz wireguard-linux-7461f37094180200cb2f98e60ef99a0cea97beec.zip |
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 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions