diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-02-06 21:56:20 -0500 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-02-12 13:14:20 +0100 |
commit | 231e872529885483056c0170641ddd76686e3a89 (patch) | |
tree | 0d754800a9224b1d0f0a824dc03f00ef45461a65 /fs/xfs/xfs_mount.c | |
parent | ae8c511757304e0c393661b5ed2ad7073e2a351d (diff) |
xfs: add support for FS_IOC_GETFSSYSFSPATH
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Link: https://lore.kernel.org/r/20240207025624.1019754-7-kent.overstreet@linux.dev
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_mount.c')
-rw-r--r-- | fs/xfs/xfs_mount.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c index 4a46bc44088f..57fa21ad7912 100644 --- a/fs/xfs/xfs_mount.c +++ b/fs/xfs/xfs_mount.c @@ -706,6 +706,8 @@ xfs_mountfs( /* enable fail_at_unmount as default */ mp->m_fail_unmount = true; + super_set_sysfs_name_id(mp->m_super); + error = xfs_sysfs_init(&mp->m_kobj, &xfs_mp_ktype, NULL, mp->m_super->s_id); if (error) |