Re: [PATCH RFC v3] configfs: don't lock the root inode in configfs_depend_item_unlocked()

From: Greg Kroah-Hartman

Date: Sun Nov 29 2026 - 08:18:30 EST


On Sun, Nov 29, 2026 at 09:56:21PM +0900, Haruka Amakawa via B4 Relay wrote:
> Changes in v3:
> - Annotate the two new helpers with __must_hold(&configfs_dirent_lock)
> instead of a comment, as Greg asked; no other code changes. Checked
> with CONFIG_WARN_CONTEXT_ANALYSIS and CONTEXT_ANALYSIS=y for
> fs/configfs (clang 23): no warnings, and dropping the spin_lock() in
> front of them makes it report the calls.
> - Link to v2: https://patch.msgid.link/20261129-configfs-depend-root-lock-v2-1-8e7210fac4f3@xxxxx

Please please slow down, there is no rush. At the least, wait 24 hours
between patches, usually longer, especially for stuff like RFC ones...