]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
nfs: include NFSv4 header in netns.h
authorStanislav Kinsbursky <skinsbursky@parallels.com>
Tue, 2 Oct 2012 10:18:54 +0000 (14:18 +0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 2 Oct 2012 15:17:02 +0000 (08:17 -0700)
Build error:
fs/nfs/netns.h:27:15: error: 'NFS4_MAX_MINOR_VERSION' undeclared here (not in
a function)

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/netns.h

index b9c7f9b1f91b11230cf3f6033fc4a86c77a94f7c..8ee1fab832686ed068468c5de8b12789af8a6371 100644 (file)
@@ -5,6 +5,7 @@
 #ifndef __NFS_NETNS_H__
 #define __NFS_NETNS_H__
 
+#include <linux/nfs4.h>
 #include <net/net_namespace.h>
 #include <net/netns/generic.h>