f2fs-tools/tools
Xiuhong Wang bd1474707d f2fs-tools: fix do_set_verity ioctl fail issue
When using the f2fs_io tool to set_verity, it will fail as follows:
unisc:/data # ./f2fs_io set_verity file
FS_IOC_ENABLE_VERITY: Inappropriate ioctl for device
this is because commit: 95ae251fe828 ("f2fs: add fs-verity support"),
the passed parameters do not match the latest kernel version.

After patch:
unisoc:/data # ./f2fs_io set_verity file
Set fsverity bit to file
unisoc:/data # ./f2fs_io getflags file
get a flag on file ret=0, flags=verity

Fixes: 95ae251fe828 ("f2fs: add fs-verity support")
Signed-off-by: Xiuhong Wang <xiuhong.wang@unisoc.com>
Signed-off-by: Zhiguo Niu <zhiguo.niu@unisoc.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
2024-07-09 21:41:18 +00:00
..
f2fs_io f2fs-tools: fix do_set_verity ioctl fail issue 2024-07-09 21:41:18 +00:00
f2fs_io_parse.c f2fs-tools: convert to lseek() and kill lseek64 2023-08-25 10:28:52 -07:00
f2fscrypt.8 f2fs-tools: fix a few spelling errors in f2fs-tools 2020-12-07 09:25:14 -08:00
f2fscrypt.c f2fs-tools: convert to lseek() and kill lseek64 2023-08-25 10:28:52 -07:00
fibmap.c f2fs-tools: convert to lseek() and kill lseek64 2023-08-25 10:28:52 -07:00
Makefile.am f2fs-tools: convert to lseek() and kill lseek64 2023-08-25 10:28:52 -07:00
sha512.c Remove unnecessary config.h 2022-05-25 15:40:30 -07:00