Skip to contentSkip to conversation

nilfs2-add-support-for-fs_ioc_getfssysfspath.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Sep 2, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: nilfs2: add support for FS_IOC_GETFSSYSFSPATH
has been removed from the -mm tree. Its filename was
nilfs2-add-support-for-fs_ioc_getfssysfspath.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Ryusuke Konishi <[email protected]>
Subject: nilfs2: add support for FS_IOC_GETFSSYSFSPATH
Date: Thu, 15 Aug 2024 16:44:06 +0900

Use the standard helper super_set_sysfs_name_bdev() to give the sysfs subpath of the filesystem for the FS_IOC_GETFSSYSFSPATH ioctl.

For nilfs2, it will output "nilfs2/<dev>".

---

 fs/nilfs2/super.c |    1 +
 1 file changed, 1 insertion(+)
fs/nilfs2/super.c renamed from fs/nilfs2/super.c~nilfs2-add-support-for-fs_ioc_getfssysfspath +1 -0
@@ -1065,6 +1065,7 @@ nilfs_fill_super(struct super_block *sb,
 
 	super_set_uuid(sb, nilfs->ns_sbp[0]->s_uuid,
 		       sizeof(nilfs->ns_sbp[0]->s_uuid));
+	super_set_sysfs_name_bdev(sb);
 
 	cno = nilfs_last_cno(nilfs);
 	err = nilfs_attach_checkpoint(sb, cno, true, &fsroot);

_

Patches currently in -mm which might be from [email protected] are