summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStanislav Kinsbursky <skinsbursky@parallels.com>2012-10-02 14:18:54 +0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-10-02 08:17:02 -0700
commitca57ccc48f6a9a3ec655f87acebab82bf01088e7 (patch)
tree05700c0c7eb9c424e5bbacc84e06333a209b9ec3
parent47b803c8d2e0545221397d175e3563f9f3695628 (diff)
downloadlinux-stable-ca57ccc48f6a9a3ec655f87acebab82bf01088e7.tar.gz
linux-stable-ca57ccc48f6a9a3ec655f87acebab82bf01088e7.tar.bz2
linux-stable-ca57ccc48f6a9a3ec655f87acebab82bf01088e7.zip
nfs: include NFSv4 header in netns.h
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>
-rw-r--r--fs/nfs/netns.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/netns.h b/fs/nfs/netns.h
index b9c7f9b1f91b..8ee1fab83268 100644
--- a/fs/nfs/netns.h
+++ b/fs/nfs/netns.h
@@ -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>