[PATCH 0/3] Add optional kernel support checks for filesystem features

Martin Doucha <[email protected]>
Newsgroups gmane.linux.ltp
Message-ID <[email protected]>
Add optional checks to the LTP library whether the kernel supports mounting
a filesystem with special features. The check is enabled through the
.mount_check_support attribute in struct tst_fs.

Also use this check in the two tests which require XFS reflink support:
file_attr02 and refluxfs.

Martin Doucha (3):
  struct tst_fs: Add flag for checking filesystem mount support in
    kernel
  refluxfs: Check kernel reflink support before mount
  file_attr02: Simplify device mounting

 include/old/tso_safe_macros.h                   |  2 +-
 include/safe_macros_fn.h                        |  2 +-
 include/tst_safe_macros.h                       |  7 ++++---
 include/tst_test.h                              |  4 ++++
 lib/safe_macros.c                               | 14 ++++++++++----
 lib/tst_test.c                                  |  3 ++-
 testcases/cve/refluxfs.c                        |  1 +
 .../kernel/syscalls/file_attr/file_attr02.c     | 17 +++--------------
 8 files changed, 26 insertions(+), 24 deletions(-)

-- 
2.54.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.