[LTP] [PATCH 0/5] MNTPOINT macro cleanup

Petr Vorel pvorel@suse.cz
Wed Jan 31 19:06:54 CET 2024


Hi,

I understand that we don't need minor cleanups like this, thus feel free
to ignore.

Kind regards,
Petr

Petr Vorel (5):
  hugemmap: Move MNTPOINT definition to header
  tree: Define MNTPOINT in include/tst_fs.h
  tree: Reuse MNTPOINT definition
  tree: Use MNTPOINT macro instead of string
  doc/C-API: Update MNTPOINT related examples

 doc/C-Test-API.asciidoc                       |  5 ++--
 include/tst_fs.h                              |  3 ++-
 testcases/kernel/fs/fs_fill/fs_fill.c         |  1 -
 .../kernel/io/direct_io/dma_thread_diotest.c  |  9 +++----
 .../hugetlb/hugefallocate/hugefallocate01.c   |  1 -
 .../hugetlb/hugefallocate/hugefallocate02.c   |  1 -
 .../kernel/mem/hugetlb/hugefork/hugefork01.c  |  1 -
 .../kernel/mem/hugetlb/hugefork/hugefork02.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap07.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap08.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap09.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap10.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap11.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap12.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap13.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap14.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap15.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap16.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap17.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap18.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap19.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap20.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap21.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap22.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap23.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap24.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap25.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap26.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap27.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap28.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap29.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap30.c  |  1 -
 .../kernel/mem/hugetlb/hugemmap/hugemmap31.c  |  1 -
 testcases/kernel/syscalls/access/access04.c   |  5 ++--
 testcases/kernel/syscalls/chdir/chdir01.c     |  1 -
 testcases/kernel/syscalls/chmod/chmod06.c     |  5 ++--
 testcases/kernel/syscalls/chown/chown04.c     |  6 ++---
 testcases/kernel/syscalls/creat/creat06.c     |  4 +--
 testcases/kernel/syscalls/creat/creat09.c     |  1 -
 .../kernel/syscalls/fallocate/fallocate05.c   |  1 -
 .../kernel/syscalls/fallocate/fallocate06.c   |  1 -
 .../kernel/syscalls/fanotify/fanotify14.c     |  1 -
 testcases/kernel/syscalls/fchmod/fchmod06.c   |  5 ++--
 testcases/kernel/syscalls/fchown/fchown04.c   |  5 ++--
 .../kernel/syscalls/fgetxattr/fgetxattr01.c   |  1 -
 .../kernel/syscalls/fgetxattr/fgetxattr02.c   |  1 -
 .../syscalls/fremovexattr/fremovexattr01.c    |  1 -
 .../syscalls/fremovexattr/fremovexattr02.c    |  1 -
 .../kernel/syscalls/fsconfig/fsconfig01.c     |  1 -
 .../kernel/syscalls/fsconfig/fsconfig03.c     |  1 -
 .../kernel/syscalls/fsetxattr/fsetxattr01.c   |  1 -
 .../kernel/syscalls/fsetxattr/fsetxattr02.c   |  1 -
 testcases/kernel/syscalls/fsmount/fsmount01.c |  1 -
 testcases/kernel/syscalls/fsmount/fsmount02.c |  1 -
 testcases/kernel/syscalls/fsopen/fsopen01.c   |  1 -
 testcases/kernel/syscalls/fspick/fspick01.c   |  1 -
 testcases/kernel/syscalls/fspick/fspick02.c   |  1 -
 testcases/kernel/syscalls/fstatfs/fstatfs01.c |  5 ++--
 testcases/kernel/syscalls/fsync/fsync01.c     |  4 +--
 .../kernel/syscalls/ftruncate/ftruncate04.c   |  1 -
 .../kernel/syscalls/getxattr/getxattr02.c     |  1 -
 .../kernel/syscalls/getxattr/getxattr03.c     |  1 -
 .../kernel/syscalls/getxattr/getxattr04.c     |  1 -
 testcases/kernel/syscalls/inotify/inotify03.c | 25 ++++++++-----------
 testcases/kernel/syscalls/ioctl/ioctl04.c     | 10 ++++----
 testcases/kernel/syscalls/link/link08.c       |  3 +--
 .../syscalls/lremovexattr/lremovexattr01.c    |  1 -
 testcases/kernel/syscalls/mkdir/mkdir03.c     |  3 +--
 testcases/kernel/syscalls/mkdir/mkdir09.c     |  1 -
 testcases/kernel/syscalls/mkdirat/mkdirat02.c |  3 +--
 testcases/kernel/syscalls/mknod/mknod07.c     |  7 +++---
 testcases/kernel/syscalls/mknodat/mknodat02.c |  9 +++----
 testcases/kernel/syscalls/mmap/mmap16.c       |  1 -
 testcases/kernel/syscalls/mount/mount01.c     |  1 -
 testcases/kernel/syscalls/mount/mount03.c     |  1 -
 testcases/kernel/syscalls/mount/mount04.c     |  1 -
 testcases/kernel/syscalls/mount/mount07.c     |  1 -
 .../syscalls/mount_setattr/mount_setattr01.c  |  1 -
 .../kernel/syscalls/move_mount/move_mount01.c |  1 -
 .../kernel/syscalls/move_mount/move_mount02.c |  1 -
 testcases/kernel/syscalls/open/open11.c       |  1 -
 testcases/kernel/syscalls/open/open12.c       |  1 -
 .../kernel/syscalls/open_tree/open_tree01.c   |  1 -
 .../kernel/syscalls/open_tree/open_tree02.c   |  1 -
 testcases/kernel/syscalls/openat/openat04.c   |  1 -
 testcases/kernel/syscalls/prctl/prctl06.h     |  1 -
 testcases/kernel/syscalls/preadv/preadv03.c   |  1 -
 testcases/kernel/syscalls/preadv2/preadv203.c |  1 -
 testcases/kernel/syscalls/pwritev/pwritev03.c |  1 -
 .../kernel/syscalls/quotactl/quotactl01.c     |  1 -
 .../kernel/syscalls/quotactl/quotactl06.c     |  1 -
 .../kernel/syscalls/quotactl/quotactl08.c     |  1 -
 .../syscalls/quotactl/quotactl_syscall_var.h  |  1 -
 testcases/kernel/syscalls/rename/rename01.c   |  5 ++--
 testcases/kernel/syscalls/rename/rename03.c   | 11 ++++----
 testcases/kernel/syscalls/rename/rename04.c   |  5 ++--
 testcases/kernel/syscalls/rename/rename05.c   |  5 ++--
 testcases/kernel/syscalls/rename/rename06.c   |  5 ++--
 testcases/kernel/syscalls/rename/rename07.c   |  5 ++--
 testcases/kernel/syscalls/rename/rename08.c   |  5 ++--
 testcases/kernel/syscalls/rename/rename10.c   |  5 ++--
 testcases/kernel/syscalls/rename/rename11.c   |  1 -
 testcases/kernel/syscalls/rename/rename12.c   |  5 ++--
 testcases/kernel/syscalls/rename/rename13.c   |  7 +++---
 .../kernel/syscalls/renameat/renameat01.c     |  1 -
 testcases/kernel/syscalls/rmdir/rmdir02.c     |  5 ++--
 .../syscalls/set_mempolicy/set_mempolicy03.c  |  1 -
 .../syscalls/set_mempolicy/set_mempolicy04.c  |  1 -
 .../kernel/syscalls/setxattr/setxattr01.c     |  1 -
 testcases/kernel/syscalls/statfs/statfs01.c   |  5 ++--
 testcases/kernel/syscalls/statvfs/statvfs01.c |  5 ++--
 testcases/kernel/syscalls/statx/statx01.c     |  3 +--
 testcases/kernel/syscalls/statx/statx04.c     |  5 ++--
 testcases/kernel/syscalls/statx/statx05.c     |  1 -
 testcases/kernel/syscalls/statx/statx06.c     |  5 ++--
 testcases/kernel/syscalls/statx/statx08.c     |  7 +++---
 testcases/kernel/syscalls/statx/statx09.c     |  1 -
 testcases/kernel/syscalls/statx/statx10.c     |  1 -
 testcases/kernel/syscalls/statx/statx12.c     |  1 -
 testcases/kernel/syscalls/umount/umount01.c   |  1 -
 testcases/kernel/syscalls/umount/umount02.c   |  1 -
 testcases/kernel/syscalls/umount/umount03.c   |  1 -
 .../kernel/syscalls/umount2/umount2_01.c      |  1 -
 .../kernel/syscalls/umount2/umount2_02.c      |  1 -
 testcases/kernel/syscalls/utime/utime01.c     |  5 ++--
 testcases/kernel/syscalls/utime/utime02.c     |  5 ++--
 testcases/kernel/syscalls/utime/utime03.c     |  1 -
 testcases/kernel/syscalls/utime/utime04.c     |  5 ++--
 testcases/kernel/syscalls/utime/utime05.c     |  7 +++---
 testcases/kernel/syscalls/utime/utime06.c     |  5 ++--
 .../kernel/syscalls/utimensat/utimensat01.c   |  1 -
 testcases/kernel/syscalls/utimes/utimes01.c   |  3 +--
 testcases/kernel/syscalls/writev/writev03.c   |  1 -
 133 files changed, 99 insertions(+), 232 deletions(-)

-- 
2.43.0



More information about the ltp mailing list