The patch titled Subject: fs/namespace.c: make to_mnt_ns() static has been added to the -mm tree. Its filename is fs-namespacec-make-to_mnt_ns-static.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/fs-namespacec-make-to_mnt_ns-static.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/fs-namespacec-make-to_mnt_ns-static.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Eric Biggers <ebiggers@xxxxxxxxxx> Subject: fs/namespace.c: make to_mnt_ns() static Make to_mnt_ns() static to address the following 'sparse' warning: fs/namespace.c:1731:22: warning: symbol 'to_mnt_ns' was not declared. Should it be static? Link: http://lkml.kernel.org/r/20191209234830.156260-1-ebiggers@xxxxxxxxxx Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx> Cc: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/namespace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/fs/namespace.c~fs-namespacec-make-to_mnt_ns-static +++ a/fs/namespace.c @@ -1728,7 +1728,7 @@ static bool is_mnt_ns_file(struct dentry dentry->d_fsdata == &mntns_operations; } -struct mnt_namespace *to_mnt_ns(struct ns_common *ns) +static struct mnt_namespace *to_mnt_ns(struct ns_common *ns) { return container_of(ns, struct mnt_namespace, ns); } _ Patches currently in -mm which might be from ebiggers@xxxxxxxxxx are fs-direct-ioc-include-fs-internalh-for-missing-prototype.patch fs-nsfsc-include-headers-for-missing-declarations.patch fs-namespacec-make-to_mnt_ns-static.patch