[LTP] [PATCH v7 0/2] ioctl_fiemap01: New test for fiemap ioctl()

Wei Gao via ltp
2025-04-14T13:40:14Z

Changes v6-v7:
* Update check_extent function parameter
* New check_extent_count function
* Other small updates base Cyril's comments on v6

link to v6:
https://patchwork.ozlabs.org/project/ltp/patch/20250410054956.5071-3-wegao@suse.com/

Wei Gao (2):
tst_safe_macros.h: Add SAFE_STATVFS
ioctl_fiemap01: New test for fiemap ioctl()

include/tst_safe_macros.h | 6 +
lib/tst_safe_macros.c | 19 +++
runtest/syscalls | 1 +
testcases/kernel/syscalls/ioctl/.gitignore | 1 +
.../kernel/syscalls/ioctl/ioctl_fiemap01.c | 126 ++++++++++++++++++
5 files changed, 153 insertions(+)
create mode 100644 testcases/kernel/syscalls/ioctl/ioctl_fiemap01.c

--
2.49.0