mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-28 16:53:49 +00:00
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>
This commit is contained in:
parent
faf996a654
commit
e446d66dd7
@ -37,9 +37,7 @@
|
||||
|
||||
#include <linux/in.h>
|
||||
#include <linux/sunrpc/svc.h>
|
||||
|
||||
/* XXX from linux/nfs_idmap.h */
|
||||
#define IDMAP_NAMESZ 128
|
||||
#include <linux/nfs_idmap.h>
|
||||
|
||||
#ifdef CONFIG_NFSD_V4
|
||||
int nfsd_idmap_init(struct net *);
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user