[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240308-vfs-uuid-f917b2acae70@brauner>
Date: Fri, 8 Mar 2024 11:19:05 +0100
From: Christian Brauner <brauner@...nel.org>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Christian Brauner <brauner@...nel.org>,
linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [GIT PULL] vfs uuid
Hey Linus,
/* Summary */
This adds two new ioctl()s for getting the filesystem uuid and
retrieving the sysfs path based on the path of a mounted filesystem. The
bcachefs pull request should include a merge of this as well as it
depends on the two new ioctls. Getting the filesystem uuid has been
implemented in filesystem specific code for a while it's now lifted as a
generic ioctl.
/* Testing */
clang: Debian clang version 16.0.6 (19)
gcc: (Debian 13.2.0-7) 13.2.0
All patches are based on v6.8-rc1 and have been sitting in linux-next.
No build failures or warnings were observed.
/* Conflicts */
At the time of creating this PR no merge conflicts were reported from
linux-next and no merge conflicts showed up doing a test-merge with
current mainline.
The following changes since commit 6613476e225e090cc9aad49be7fa504e290dd33d:
Linux 6.8-rc1 (2024-01-21 14:11:32 -0800)
are available in the Git repository at:
git@...olite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.9.uuid
for you to fetch changes up to 01edea1bbd1768be41729fd018a82556fa1810ec:
Merge series "filesystem visibility ioctls" of https://lore.kernel.org/r/20240207025624.1019754-1-kent.overstreet@linux.dev (2024-02-12 13:14:21 +0100)
Please consider pulling these changes from the signed vfs-6.9.uuid tag.
Thanks!
Christian
----------------------------------------------------------------
vfs-6.9.uuid
----------------------------------------------------------------
Christian Brauner (1):
Merge series "filesystem visibility ioctls" of https://lore.kernel.org/r/20240207025624.1019754-1-kent.overstreet@linux.dev
Kent Overstreet (6):
fs: super_set_uuid()
ovl: convert to super_set_uuid()
fs: FS_IOC_GETUUID
fat: Hook up sb->s_uuid
fs: add FS_IOC_GETFSSYSFSPATH
xfs: add support for FS_IOC_GETFSSYSFSPATH
Documentation/userspace-api/ioctl/ioctl-number.rst | 3 +-
fs/ext4/super.c | 2 +-
fs/f2fs/super.c | 2 +-
fs/fat/inode.c | 3 ++
fs/gfs2/ops_fstype.c | 2 +-
fs/ioctl.c | 33 ++++++++++++++
fs/kernfs/mount.c | 4 +-
fs/ocfs2/super.c | 4 +-
fs/overlayfs/util.c | 18 +++++---
fs/ubifs/super.c | 2 +-
fs/xfs/xfs_mount.c | 4 +-
include/linux/fs.h | 52 ++++++++++++++++++++++
include/uapi/linux/fs.h | 25 +++++++++++
mm/shmem.c | 4 +-
14 files changed, 141 insertions(+), 17 deletions(-)
Powered by blists - more mailing lists