diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-08-29 16:40:27 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-08-29 16:40:27 -0400 |
commit | c1b054d03f5b31c33eaa0b267c629b118eaf3790 (patch) | |
tree | 9333907ca767be24fcb3667877242976c3e3c8dd /include/linux/nfsd_idmap.h | |
parent | 559fb51ba7e66fe298b8355fabde1275b7def35f (diff) | |
parent | bf4e70e54cf31dcca48d279c7f7e71328eebe749 (diff) |
Merge /spare/repo/linux-2.6/
Diffstat (limited to 'include/linux/nfsd_idmap.h')
-rw-r--r-- | include/linux/nfsd_idmap.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/nfsd_idmap.h b/include/linux/nfsd_idmap.h index 9bb7f30e923b..e82746fcad14 100644 --- a/include/linux/nfsd_idmap.h +++ b/include/linux/nfsd_idmap.h | |||
@@ -43,8 +43,13 @@ | |||
43 | /* XXX from linux/nfs_idmap.h */ | 43 | /* XXX from linux/nfs_idmap.h */ |
44 | #define IDMAP_NAMESZ 128 | 44 | #define IDMAP_NAMESZ 128 |
45 | 45 | ||
46 | #ifdef CONFIG_NFSD_V4 | ||
46 | void nfsd_idmap_init(void); | 47 | void nfsd_idmap_init(void); |
47 | void nfsd_idmap_shutdown(void); | 48 | void nfsd_idmap_shutdown(void); |
49 | #else | ||
50 | static inline void nfsd_idmap_init(void) {}; | ||
51 | static inline void nfsd_idmap_shutdown(void) {}; | ||
52 | #endif | ||
48 | 53 | ||
49 | int nfsd_map_name_to_uid(struct svc_rqst *, const char *, size_t, __u32 *); | 54 | int nfsd_map_name_to_uid(struct svc_rqst *, const char *, size_t, __u32 *); |
50 | int nfsd_map_name_to_gid(struct svc_rqst *, const char *, size_t, __u32 *); | 55 | int nfsd_map_name_to_gid(struct svc_rqst *, const char *, size_t, __u32 *); |