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

Karl Mehltretter posted 1 patch 1 week, 6 days ago
Documentation/filesystems/vfs.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] docs/vfs: Fix the struct file_system_type copy
Posted by Karl Mehltretter 1 week, 6 days ago
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
Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>
---
 Documentation/filesystems/vfs.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/filesystems/vfs.rst b/Documentation/filesystems/vfs.rst
index d3a93eec3945f83e057fbd6bc3ce519da03ea66f..56c68f4aefbac6f7be979f5ebc2a0aee886e13ae 100644
--- a/Documentation/filesystems/vfs.rst
+++ b/Documentation/filesystems/vfs.rst
@@ -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;
-- 
2.39.5 (Apple Git-154)
Re: [PATCH] docs/vfs: Fix the struct file_system_type copy
Posted by Randy Dunlap 1 week, 5 days ago

On 9/12/26 12:32 AM, Karl Mehltretter wrote:
> 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
> Signed-off-by: Karl Mehltretter <kmehltretter@gmail.com>

Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.

> ---
>  Documentation/filesystems/vfs.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/filesystems/vfs.rst b/Documentation/filesystems/vfs.rst
> index d3a93eec3945f83e057fbd6bc3ce519da03ea66f..56c68f4aefbac6f7be979f5ebc2a0aee886e13ae 100644
> --- a/Documentation/filesystems/vfs.rst
> +++ b/Documentation/filesystems/vfs.rst
> @@ -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;

-- 
~Randy