]> git.ipfire.org Git - thirdparty/linux.git/commit
fs: only assert on LOOKUP_RCU when built with CONFIG_DEBUG_VFS
authorMateusz Guzik <mjguzik@gmail.com>
Mon, 29 Dec 2025 12:57:51 +0000 (13:57 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 6 Jan 2026 21:47:07 +0000 (22:47 +0100)
commit729d015ab230d1d6debd69744c6e0fb70c16a779
treec4783916c1b3be3fa934c571a581e7aa4360fb7c
parent0f166bf1d6d82701cc1d94445cc2a9107d1790df
fs: only assert on LOOKUP_RCU when built with CONFIG_DEBUG_VFS

Calls to the 2 modified routines are explicitly gated with checks for
the flag, so there is no use for this in production kernels.

Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://patch.msgid.link/20251229125751.826050-1-mjguzik@gmail.com
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/namei.c