summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfs4idmap.c
diff options
context:
space:
mode:
authorKinglong Mee2015-07-03 13:36:14 +0200
committerJ. Bruce Fields2015-07-20 20:58:46 +0200
commite446d66dd77fa8fbb505a9940bf637649c9b45f2 (patch)
treeb228bc881158ce7f3593cf210ccd02ac1857577f /fs/nfsd/nfs4idmap.c
parentnfsd: Drop including client's header file nfs_fs.h (diff)
downloadkernel-qcow2-linux-e446d66dd77fa8fbb505a9940bf637649c9b45f2.tar.gz
kernel-qcow2-linux-e446d66dd77fa8fbb505a9940bf637649c9b45f2.tar.xz
kernel-qcow2-linux-e446d66dd77fa8fbb505a9940bf637649c9b45f2.zip
nfsd: Remove duplicate define of IDMAP_NAMESZ/IDMAP_TYPE_xx
Just using the macro defined in nfs_idmap.h. Signed-off-by: Kinglong Mee <kinglongmee@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4idmap.c')
-rw-r--r--fs/nfsd/nfs4idmap.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4idmap.c b/fs/nfsd/nfs4idmap.c
index e1b3d3d472da..5b20577dcdd2 100644
--- a/fs/nfsd/nfs4idmap.c
+++ b/fs/nfsd/nfs4idmap.c
@@ -59,9 +59,6 @@ MODULE_PARM_DESC(nfs4_disable_idmapping,
* that.
*/
-#define IDMAP_TYPE_USER 0
-#define IDMAP_TYPE_GROUP 1
-
struct ent {
struct cache_head h;
int type; /* User / Group */