Skip to contentSkip to conversation

vfs selftests

GIT PULL Merged Christian Brauner 2 participants 2 messages May 23, 2025 – May 26, 2025 VFS

lore
Share & tools
lore

Christian Brauner

author maintainer
#0 lore raw

Hey Linus,

/* Summary */

This contains various cleanups, fixes, and extensions for out filesystem selftests.

/* Testing */

gcc (Debian 14.2.0-19) 14.2.0
Debian clang version 19.1.7 (3)

No build failures or warnings were observed.

/* Conflicts */

Merge conflicts with mainline
=============================

No known conflicts.

Merge conflicts with other trees
================================

No known conflicts.

The following changes since commit 92a09c47464d040866cf2b4cd052bc60555185fb:

Linux 6.15-rc5 (2025-05-04 13:55:04 -0700)

are available in the Git repository at:

[email protected]:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.16-rc1.selftests

for you to fetch changes up to 7ec091c55986423b6460604a6921e441e23d68c7:

Merge patch series "filesystems selftests cleanups and fanotify test" (2025-05-12 11:40:18 +0200)

Please consider pulling these changes from the signed vfs-6.16-rc1.selftests tag.

Thanks!
Christian

----------------------------------------------------------------
vfs-6.16-rc1.selftests

----------------------------------------------------------------
Amir Goldstein (8):
selftests/filesystems: move wrapper.h out of overlayfs subdir selftests/fs/statmount: build with tools include dir selftests/pidfd: move syscall definitions into wrappers.h selftests/mount_settattr: remove duplicate syscall definitions selftests/fs/mount-notify: build with tools include dir selftests/filesystems: create get_unique_mnt_id() helper selftests/filesystems: create setup_userns() helper selftests/fs/mount-notify: add a test variant running inside userns

Christian Brauner (4):
selftests/mount_settattr: don't define sys_open_tree() twice selftests/mount_settattr: add missing STATX_MNT_ID_UNIQUE define selftests/mount_settattr: ensure that ext4 filesystem can be created Merge patch series "filesystems selftests cleanups and fanotify test"

 tools/include/uapi/linux/fanotify.h                | 274 ++++++++++
 tools/include/uapi/linux/mount.h                   | 235 +++++++++
 tools/include/uapi/linux/nsfs.h                    |  45 ++
 .../selftests/filesystems/mount-notify/.gitignore  |   1 +
 .../selftests/filesystems/mount-notify/Makefile    |   9 +-
 .../filesystems/mount-notify/mount-notify_test.c   |  38 +-
 .../mount-notify/mount-notify_test_ns.c            | 557 +++++++++++++++++++++
 .../selftests/filesystems/overlayfs/Makefile       |   2 +-
 .../selftests/filesystems/overlayfs/dev_in_maps.c  |   2 +-
 .../filesystems/overlayfs/set_layers_via_fds.c     |   2 +-
 .../selftests/filesystems/statmount/Makefile       |   6 +-
 .../selftests/filesystems/statmount/statmount.h    |  36 ++
 .../filesystems/statmount/statmount_test_ns.c      |  86 +---
 tools/testing/selftests/filesystems/utils.c        |  88 ++++
 tools/testing/selftests/filesystems/utils.h        |   3 +
 .../filesystems/{overlayfs => }/wrappers.h         |  46 +-
 tools/testing/selftests/mount_setattr/Makefile     |   2 +
 .../selftests/mount_setattr/mount_setattr_test.c   |  61 +--
 tools/testing/selftests/pidfd/pidfd_bind_mount.c   |  74 +--
 19 files changed, 1317 insertions(+), 250 deletions(-)
 create mode 100644 tools/include/uapi/linux/fanotify.h
 create mode 100644 tools/include/uapi/linux/mount.h
 create mode 100644 tools/include/uapi/linux/nsfs.h
 create mode 100644 tools/testing/selftests/filesystems/mount-notify/mount-notify_test_ns.c
 rename tools/testing/selftests/filesystems/{overlayfs => }/wrappers.h (57%)
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 23 May 2025 14:49:41 +0200:

The pull request you sent on Fri, 23 May 2025 14:49:41 +0200:

Quoted 1 line

[email protected]:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.16-rc1.selftests

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3e406741b19890c3d8a2ed126aa7c23b106ca9e1

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html