Re: [PATCH v1 1/1] mnt: Remove dead code which might prevent from building

From: Christian Brauner

Date: Wed Oct 29 2025 - 10:57:45 EST


On Fri, 24 Oct 2025 15:23:36 +0200, Andy Shevchenko wrote:
> Clang, in particular, is not happy about dead code:
>
> fs/namespace.c:135:37: error: unused function 'node_to_mnt_ns' [-Werror,-Wunused-function]
> 135 | static inline struct mnt_namespace *node_to_mnt_ns(const struct rb_node *node)
> | ^~~~~~~~~~~~~~
> 1 error generated.
>
> [...]

Applied to the vfs.fixes branch of the vfs/vfs.git tree.
Patches in the vfs.fixes branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.fixes

[1/1] mnt: Remove dead code which might prevent from building
https://git.kernel.org/vfs/vfs/c/9db8d46712d2