diff mbox series

[v3,6/7] xfs: add support for FS_IOC_GETSYSFSNAME

Message ID 20240207025624.1019754-7-kent.overstreet@linux.dev (mailing list archive)
State New, archived
Headers show
Series filesystem visibililty ioctls | expand

Commit Message

Kent Overstreet Feb. 7, 2024, 2:56 a.m. UTC
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
---
 fs/xfs/xfs_mount.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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)