Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: mohamedalibouhaouala@gmail.com, jack@suse.cz
Cc: corbet@lwn.net, linux-mm@kvack.org, rdunlap@infradead.org,
	skhan@linuxfoundation.org, willy@infradead.org
Subject: Re: [PATCH v2] docs: filesystems: update filesystem type, superblock and inode documentation
Date: Wed, 25 Nov 2026 22:41:51 +0000	[thread overview]
Message-ID: <sashiko-outbox-234265@kernel.org> (raw)
In-Reply-To: <20261124223841.45091-1-mohamedalibouhaouala@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] docs: filesystems: vfs.rst tells callers to initialize
  hlist_node list to NULL
--

commit d7e2903820e76954308c4fadd359952c7070652b
Author: Mohamed Ali Bouhaouala <mohamedalibouhaouala@gmail.com>

docs: filesystems: update filesystem type, superblock and inode documentation

This commit updates the VFS documentation for file_system_type,
super_operations, and inode_operations to match the current kernel
definitions and callback semantics.

> diff --git a/Documentation/filesystems/vfs.rst b/Documentation/filesystems/vfs.rst
> index 1824462a43711..da4aefb1cc90f 100644
> --- a/Documentation/filesystems/vfs.rst
> +++ b/Documentation/filesystems/vfs.rst
[ ... ]
> @@ -156,14 +158,14 @@ members are defined:
>  	for internal VFS use: you should initialize this to THIS_MODULE
>  	in most cases.
>  
> -``next``
> +``list``
>  	for internal VFS use: you should initialize this to NULL

[Severity: Low]
Can file_system_type.list be initialized to NULL?  Unlike the old next
pointer, list is an embedded struct hlist_node, so initializing it to
NULL does not compile and callers leave it implicitly zero-initialized.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261124223841.45091-1-mohamedalibouhaouala@gmail.com?part=1


      reply	other threads:[~2026-11-25 22:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20 18:22 [PATCH] docs: filesystems: update filesystem type, superblock and inode documentation mohamedalibouhaouala
2026-11-23  9:42 ` Jan Kara
2026-11-24 12:18 ` Jan Kara
2026-11-24 22:38   ` [PATCH v2] " mohamedalibouhaouala
2026-11-25 22:41     ` sashiko-bot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-234265@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=corbet@lwn.net \
    --cc=jack@suse.cz \
    --cc=linux-mm@kvack.org \
    --cc=mohamedalibouhaouala@gmail.com \
    --cc=rdunlap@infradead.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=skhan@linuxfoundation.org \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox