瀏覽代碼

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>
Stanislav Kinsbursky 13 年之前
父節點
當前提交
ca57ccc48f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      fs/nfs/netns.h

+ 1 - 0
fs/nfs/netns.h

@@ -5,6 +5,7 @@
 #ifndef __NFS_NETNS_H__
 #ifndef __NFS_NETNS_H__
 #define __NFS_NETNS_H__
 #define __NFS_NETNS_H__
 
 
+#include <linux/nfs4.h>
 #include <net/net_namespace.h>
 #include <net/net_namespace.h>
 #include <net/netns/generic.h>
 #include <net/netns/generic.h>