Skip to contentSkip to conversation

docs/vfs: Fix the struct file_system_type copy

PATCH Applied Karl Mehltretter 3 participants 3 messages Sep 12 – Sep 25

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/vfs: Fix the struct file_system_type copy

Commit dc651e25a6d2 ("fs: RCU-ify filesystems list") replaced the next pointer of struct file_system_type with an hlist_node, but the copy of the structure in vfs.rst still shows "struct file_system_type * next". Show the hlist_node.

Fixes dc651e25a6d2 ("fs: RCU-ify filesystems list")
Assisted-by LLM
---
 Documentation/filesystems/vfs.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/filesystems/vfs.rst +1 -1
index d3a93eec3945f83e057fbd6bc3ce519da03ea66f..56c68f4aefbac6f7be979f5ebc2a0aee886e13ae 100644
@@ -117,7 +117,7 @@ members are defined:
 		const struct fs_parameter_spec *parameters;
 		void (*kill_sb) (struct super_block *);
 		struct module *owner;
-		struct file_system_type * next;
+		struct hlist_node list;
 		struct hlist_head fs_supers;
 
 		struct lock_class_key s_lock_key;
Signature · 1 line
2.39.5 (Apple Git-154)
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · Karl Mehltretter

Commit dc651e25a6d2 ("fs: RCU-ify filesystems list") replaced the next pointer of struct file_system_type with an hlist_node, but the copy of the structure in vfs.rst still shows "struct file_system_type * next". Show the hlist_node.

Fixes dc651e25a6d2 ("fs: RCU-ify filesystems list")
Assisted-by LLM

Thanks.

Quoted 17 lines
---
 Documentation/filesystems/vfs.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/filesystems/vfs.rst +1 -1
index d3a93eec3945f83e057fbd6bc3ce519da03ea66f..56c68f4aefbac6f7be979f5ebc2a0aee886e13ae 100644
@@ -117,7 +117,7 @@ members are defined:
 		const struct fs_parameter_spec *parameters;
 		void (*kill_sb) (struct super_block *);
 		struct module *owner;
-		struct file_system_type * next;
+		struct hlist_node list;
 		struct hlist_head fs_supers;
 
 		struct lock_class_key s_lock_key;
Signature · 1 line
~Randy
maintainer Applied
#2 lore raw
In reply to Karl Mehltretter
Quoted 1 line · Karl Mehltretter

docs/vfs: Fix the struct file_system_type copy

Applied to the vfs-7.4.misc branch of the vfs/vfs.git tree. Patches in the vfs-7.4.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.4.misc

[1/1] docs/vfs: Fix the struct file_system_type copy

      https://git.kernel.org/vfs/vfs/c/392f5390d5d8