f2fs-tools: add DISP_u8() macro
authorChao Yu <chao@kernel.org>
Fri, 5 May 2023 10:02:03 +0000 (18:02 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 18 May 2023 01:13:02 +0000 (18:13 -0700)
commita794fd2690f79bc502ac0d6a9ad57823961c4d14
tree2d578482cb09c8344fd25cad3f50ca493eaba9d5
parent980fb3dfc46244a23102f372191bdb02cc2c7a27
f2fs-tools: add DISP_u8() macro

Introduce DISP_u8(), and use DISP_u16() and DISP_u8() to print below fields:
- i_compress_algorithm
- i_log_cluster_size
- i_compress_flag

Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fsck/mount.c
include/f2fs_fs.h