From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: macchacat@pm.me
Cc: Breno Leitao <leitao@debian.org>,
Andreas Hindborg <a.hindborg@kernel.org>,
Slawomir Stepien <sst@poczta.fm>,
William Chuang <founder@logarcheon.com>,
Roy <rongh7426@gmail.com>,
linux-fsdevel@vger.kernel.org, linux-usb@vger.kernel.org,
target-devel@vger.kernel.org, linux-kernel@vger.kernel.org,
syzbot+8c0a48f6c8357c9da819@syzkaller.appspotmail.com
Subject: Re: [PATCH RFC v2] configfs: don't lock the root inode in configfs_depend_item_unlocked()
Date: Sun, 29 Nov 2026 13:49:20 +0100 [thread overview]
Message-ID: <2026112916-bunkhouse-xerox-4ce3@gregkh> (raw)
In-Reply-To: <20261129-configfs-depend-root-lock-v2-1-8e7210fac4f3@pm.me>
On Sun, Nov 29, 2026 at 09:38:55PM +0900, Haruka Amakawa via B4 Relay wrote:
> @@ -1103,17 +1105,19 @@ static int configfs_depend_prep(struct configfs_dirent *sd,
> return ret;
> }
>
> -static int configfs_do_depend_item(struct configfs_dirent *subsys_sd,
> - struct config_item *target)
> +/* Caller must hold configfs_dirent_lock. */
> +static int __configfs_do_depend_item(struct configfs_dirent *subsys_sd,
> + struct config_item *target)
Mark this with __must_hold() please.
thanks,
greg k-h
prev parent reply other threads:[~2026-11-29 12:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 12:38 [PATCH RFC v2] configfs: don't lock the root inode in configfs_depend_item_unlocked() Haruka Amakawa via B4 Relay
2026-11-29 12:48 ` sashiko-bot
2026-11-29 12:49 ` Greg Kroah-Hartman [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=2026112916-bunkhouse-xerox-4ce3@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=a.hindborg@kernel.org \
--cc=founder@logarcheon.com \
--cc=leitao@debian.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=macchacat@pm.me \
--cc=rongh7426@gmail.com \
--cc=sst@poczta.fm \
--cc=syzbot+8c0a48f6c8357c9da819@syzkaller.appspotmail.com \
--cc=target-devel@vger.kernel.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