Re: [PATCH] docs/vfs: Fix the struct file_system_type copy
From: Randy Dunlap
Date: Sat Sep 12 2026 - 13:37:05 EST
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@xxxxxxxxx>
Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
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