[1/2] nsfs: include internal.h for ns_dentry_operations
diff mbox series

Message ID 20191011165706.15608-1-ben.dooks@codethink.co.uk
State New
Headers show
Series
  • [1/2] nsfs: include internal.h for ns_dentry_operations
Related show

Commit Message

Ben Dooks (Codethink) Oct. 11, 2019, 4:57 p.m. UTC
Include "internal.h" for the ns_dentry_operations definiton.
Fixes the following spare warning:

fs/nsfs.c:41:32: warning: symbol 'ns_dentry_operations' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: linux-fsdevel@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
 fs/nsfs.c | 2 ++
 1 file changed, 2 insertions(+)

Patch
diff mbox series

diff --git a/fs/nsfs.c b/fs/nsfs.c
index a0431642c6b5..ea384d0f225a 100644
--- a/fs/nsfs.c
+++ b/fs/nsfs.c
@@ -11,6 +11,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,