From: Eric Biggers Date: Sat, 4 Jan 2020 20:59:52 +0000 (-0800) Subject: fs/nsfs.c: include headers for missing declarations X-Git-Tag: v5.10.7~3547^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7bebd69ecf10787e6b9559ab780496f54943cc21;p=platform%2Fkernel%2Flinux-rpi.git 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@kernel.org Signed-off-by: Eric Biggers Cc: Alexander Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/nsfs.c b/fs/nsfs.c index a043164..f75767b 100644 --- a/fs/nsfs.c +++ b/fs/nsfs.c @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include @@ -11,6 +12,8 @@ #include #include +#include "internal.h" + static struct vfsmount *nsfs_mnt; static long ns_ioctl(struct file *filp, unsigned int ioctl,