On 2024/6/17 15:11, Xiuhong Wang wrote:
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 <[email protected]> Signed-off-by: Zhiguo Niu <[email protected]>
Reviewed-by: Chao Yu <[email protected]> Thanks, _______________________________________________ Linux-f2fs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
