diff options
author | Kinglong Mee <kinglongmee@gmail.com> | 2015-07-03 07:36:14 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2015-07-20 14:58:46 -0400 |
commit | e446d66dd77fa8fbb505a9940bf637649c9b45f2 (patch) | |
tree | b228bc881158ce7f3593cf210ccd02ac1857577f /fs/nfsd/idmap.h | |
parent | faf996a654ac60983a24a9cdc5e0f3324e8a2b32 (diff) |
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/idmap.h')
-rw-r--r-- | fs/nfsd/idmap.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/nfsd/idmap.h b/fs/nfsd/idmap.h index a3f34900091f..23cc85d1efdd 100644 --- a/fs/nfsd/idmap.h +++ b/fs/nfsd/idmap.h | |||
@@ -37,9 +37,7 @@ | |||
37 | 37 | ||
38 | #include <linux/in.h> | 38 | #include <linux/in.h> |
39 | #include <linux/sunrpc/svc.h> | 39 | #include <linux/sunrpc/svc.h> |
40 | 40 | #include <linux/nfs_idmap.h> | |
41 | /* XXX from linux/nfs_idmap.h */ | ||
42 | #define IDMAP_NAMESZ 128 | ||
43 | 41 | ||
44 | #ifdef CONFIG_NFSD_V4 | 42 | #ifdef CONFIG_NFSD_V4 |
45 | int nfsd_idmap_init(struct net *); | 43 | int nfsd_idmap_init(struct net *); |