From: Kent Overstreet Date: Wed, 7 Feb 2024 02:56:20 +0000 (-0500) Subject: xfs: add support for FS_IOC_GETFSSYSFSPATH X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=231e872529885483056c0170641ddd76686e3a89;p=linux.git xfs: add support for FS_IOC_GETFSSYSFSPATH Signed-off-by: Kent Overstreet Link: https://lore.kernel.org/r/20240207025624.1019754-7-kent.overstreet@linux.dev Signed-off-by: Christian Brauner --- diff --git a/fs/xfs/xfs_mount.c b/fs/xfs/xfs_mount.c index 4a46bc44088fb..57fa21ad79124 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)