Skip to contentSkip to conversation

NFSv3: Fix missing includes of nfs3_fs.h

PATCH In review Trond Myklebust 2 participants 2 messages Sep 25, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 NFSv3: Fix missing includes of nfs3_fs.h

Silence a few warnings about missing symbols that are due to missing includes of nfs3_fs.h.

Fixes 00a36a1090350 (NFS: Move v3 declarations out of internal.h)
Fixes cb8c20fa53ec2 (NFS: Move NFS v3 acl functions to nfs3_fs.h)
---
 fs/nfs/nfs3acl.c    | 1 +
 fs/nfs/nfs3client.c | 1 +
 2 files changed, 2 insertions(+)
fs/nfs/nfs3acl.c +1 -0
index 24c6898159cc..658e586ca438 100644
@@ -7,6 +7,7 @@
 #include <linux/nfsacl.h>
 
 #include "internal.h"
+#include "nfs3_fs.h"
 
 #define NFSDBG_FACILITY	NFSDBG_PROC
 
fs/nfs/nfs3client.c +1 -0
index b3fc65ef39ca..8c1b437c5403 100644
@@ -1,6 +1,7 @@
 #include <linux/nfs_fs.h>
 #include <linux/nfs_mount.h>
 #include "internal.h"
+#include "nfs3_fs.h"
 
 #ifdef CONFIG_NFS_V3_ACL
 static struct rpc_stat		nfsacl_rpcstat = { &nfsacl_program };
Signature · 1 line
1.9.3
#1 lore raw

Looks good to me, although I'm not sure how I missed that when I submitted my patches!

Anna

Quoted 36 lines · Trond Myklebust

Silence a few warnings about missing symbols that are due to missing includes of nfs3_fs.h.

Fixes 00a36a1090350 (NFS: Move v3 declarations out of internal.h)
Fixes cb8c20fa53ec2 (NFS: Move NFS v3 acl functions to nfs3_fs.h)
---
 fs/nfs/nfs3acl.c    | 1 +
 fs/nfs/nfs3client.c | 1 +
 2 files changed, 2 insertions(+)
fs/nfs/nfs3acl.c +1 -0
index 24c6898159cc..658e586ca438 100644
@@ -7,6 +7,7 @@
 #include <linux/nfsacl.h>
 
 #include "internal.h"
+#include "nfs3_fs.h"
 
 #define NFSDBG_FACILITY	NFSDBG_PROC
 
fs/nfs/nfs3client.c +1 -0
index b3fc65ef39ca..8c1b437c5403 100644
@@ -1,6 +1,7 @@
 #include <linux/nfs_fs.h>
 #include <linux/nfs_mount.h>
 #include "internal.h"
+#include "nfs3_fs.h"
 
 #ifdef CONFIG_NFS_V3_ACL
 static struct rpc_stat		nfsacl_rpcstat = { &nfsacl_program };