The patch titled Subject: fs/nsfs.c: include headers for missing declarations has been added to the -mm tree. Its filename is fs-nsfsc-include-headers-for-missing-declarations.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/fs-nsfsc-include-headers-for-missing-declarations.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/fs-nsfsc-include-headers-for-missing-declarations.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/nsfs.c: include headers for missing declarations Include linux/proc_fs.h and fs/internal.h to address the following 'sparse' warnings: fs/nsfs.c:41:32: warning: symbol 'ns_dentry_operations' was not declared. Should it be static? fs/nsfs.c:145:5: warning: symbol 'open_related_ns' was not declared. Should it be static? Link: http://lkml.kernel.org/r/20191209234822.156179-1-ebiggers@xxxxxxxxxx Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx> Cc: Alexander Viro <viro@xxxxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/nsfs.c | 3 +++ 1 file changed, 3 insertions(+) --- a/fs/nsfs.c~fs-nsfsc-include-headers-for-missing-declarations +++ a/fs/nsfs.c @@ -3,6 +3,7 @@ #include <linux/pseudo_fs.h> #include <linux/file.h> #include <linux/fs.h> +#include <linux/proc_fs.h> #include <linux/proc_ns.h> #include <linux/magic.h> #include <linux/ktime.h> @@ -11,6 +12,8 @@ #include <linux/nsfs.h> #include <linux/uaccess.h> +#include "internal.h" + static struct vfsmount *nsfs_mnt; static long ns_ioctl(struct file *filp, unsigned int ioctl, _ 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