]> Git Repo - J-linux.git/commitdiff
xfs: add support for FS_IOC_GETFSSYSFSPATH
authorKent Overstreet <[email protected]>
Wed, 7 Feb 2024 02:56:20 +0000 (21:56 -0500)
committerChristian Brauner <[email protected]>
Mon, 12 Feb 2024 12:14:20 +0000 (13:14 +0100)
Signed-off-by: Kent Overstreet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
fs/xfs/xfs_mount.c

index 4a46bc44088fbf3c4a99fbce65e2b26ed8cc8177..57fa21ad79124784d205f1313db461acda2546b1 100644 (file)
@@ -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)
This page took 0.048763 seconds and 4 git commands to generate.