提交 40c64c26 编写于 作者: A Anna Schumaker 提交者: Trond Myklebust

NFS: Move nfs_idmap.h into fs/nfs/

This file is only used internally to the NFS v4 module, so it doesn't
need to be in the global include path.  I also renamed it from
nfs_idmap.h to nfs4idmap.h to emphasize that it's an NFSv4-only include
file.
Signed-off-by: NAnna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: NTrond Myklebust <trond.myklebust@primarydata.com>
上级 f9ebd618
...@@ -11,10 +11,10 @@ ...@@ -11,10 +11,10 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/sunrpc/metrics.h> #include <linux/sunrpc/metrics.h>
#include <linux/nfs_idmap.h>
#include "flexfilelayout.h" #include "flexfilelayout.h"
#include "../nfs4session.h" #include "../nfs4session.h"
#include "../nfs4idmap.h"
#include "../internal.h" #include "../internal.h"
#include "../delegation.h" #include "../delegation.h"
#include "../nfs4trace.h" #include "../nfs4trace.h"
......
...@@ -36,7 +36,6 @@ ...@@ -36,7 +36,6 @@
#include <linux/types.h> #include <linux/types.h>
#include <linux/parser.h> #include <linux/parser.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/nfs_idmap.h>
#include <net/net_namespace.h> #include <net/net_namespace.h>
#include <linux/sunrpc/rpc_pipe_fs.h> #include <linux/sunrpc/rpc_pipe_fs.h>
#include <linux/nfs_fs.h> #include <linux/nfs_fs.h>
...@@ -49,6 +48,7 @@ ...@@ -49,6 +48,7 @@
#include "internal.h" #include "internal.h"
#include "netns.h" #include "netns.h"
#include "nfs4idmap.h"
#include "nfs4trace.h" #include "nfs4trace.h"
#define NFS_UINT_MAXLEN 11 #define NFS_UINT_MAXLEN 11
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
*/ */
#include <linux/module.h> #include <linux/module.h>
#include <linux/nfs_fs.h> #include <linux/nfs_fs.h>
#include <linux/nfs_idmap.h>
#include <linux/nfs_mount.h> #include <linux/nfs_mount.h>
#include <linux/sunrpc/addr.h> #include <linux/sunrpc/addr.h>
#include <linux/sunrpc/auth.h> #include <linux/sunrpc/auth.h>
...@@ -15,6 +14,7 @@ ...@@ -15,6 +14,7 @@
#include "callback.h" #include "callback.h"
#include "delegation.h" #include "delegation.h"
#include "nfs4session.h" #include "nfs4session.h"
#include "nfs4idmap.h"
#include "pnfs.h" #include "pnfs.h"
#include "netns.h" #include "netns.h"
......
/* /*
* include/linux/nfs_idmap.h * fs/nfs/nfs4idmap.h
* *
* UID and GID to name mapping for clients. * UID and GID to name mapping for clients.
* *
......
...@@ -51,7 +51,6 @@ ...@@ -51,7 +51,6 @@
#include <linux/namei.h> #include <linux/namei.h>
#include <linux/mount.h> #include <linux/mount.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/nfs_idmap.h>
#include <linux/xattr.h> #include <linux/xattr.h>
#include <linux/utsname.h> #include <linux/utsname.h>
#include <linux/freezer.h> #include <linux/freezer.h>
...@@ -63,6 +62,7 @@ ...@@ -63,6 +62,7 @@
#include "callback.h" #include "callback.h"
#include "pnfs.h" #include "pnfs.h"
#include "netns.h" #include "netns.h"
#include "nfs4idmap.h"
#include "nfs4session.h" #include "nfs4session.h"
#include "fscache.h" #include "fscache.h"
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/nfs_fs.h> #include <linux/nfs_fs.h>
#include <linux/nfs_idmap.h>
#include <linux/kthread.h> #include <linux/kthread.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/random.h> #include <linux/random.h>
...@@ -57,6 +56,7 @@ ...@@ -57,6 +56,7 @@
#include "callback.h" #include "callback.h"
#include "delegation.h" #include "delegation.h"
#include "internal.h" #include "internal.h"
#include "nfs4idmap.h"
#include "nfs4session.h" #include "nfs4session.h"
#include "pnfs.h" #include "pnfs.h"
#include "netns.h" #include "netns.h"
......
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
*/ */
#include <linux/init.h> #include <linux/init.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/nfs_idmap.h>
#include <linux/nfs4_mount.h> #include <linux/nfs4_mount.h>
#include <linux/nfs_fs.h> #include <linux/nfs_fs.h>
#include "delegation.h" #include "delegation.h"
#include "internal.h" #include "internal.h"
#include "nfs4_fs.h" #include "nfs4_fs.h"
#include "nfs4idmap.h"
#include "dns_resolve.h" #include "dns_resolve.h"
#include "pnfs.h" #include "pnfs.h"
#include "nfs.h" #include "nfs.h"
......
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
* Copyright (c) 2006 Trond Myklebust <Trond.Myklebust@netapp.com> * Copyright (c) 2006 Trond Myklebust <Trond.Myklebust@netapp.com>
*/ */
#include <linux/sysctl.h> #include <linux/sysctl.h>
#include <linux/nfs_idmap.h>
#include <linux/nfs_fs.h> #include <linux/nfs_fs.h>
#include "nfs4_fs.h" #include "nfs4_fs.h"
#include "nfs4idmap.h"
#include "callback.h" #include "callback.h"
static const int nfs_set_port_min = 0; static const int nfs_set_port_min = 0;
......
...@@ -52,10 +52,10 @@ ...@@ -52,10 +52,10 @@
#include <linux/nfs.h> #include <linux/nfs.h>
#include <linux/nfs4.h> #include <linux/nfs4.h>
#include <linux/nfs_fs.h> #include <linux/nfs_fs.h>
#include <linux/nfs_idmap.h>
#include "nfs4_fs.h" #include "nfs4_fs.h"
#include "internal.h" #include "internal.h"
#include "nfs4idmap.h"
#include "nfs4session.h" #include "nfs4session.h"
#include "pnfs.h" #include "pnfs.h"
#include "netns.h" #include "netns.h"
......
/* /*
* include/linux/nfs_idmap.h * include/uapi/linux/nfs_idmap.h
* *
* UID and GID to name mapping for clients. * UID and GID to name mapping for clients.
* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册