nfsd4: return nfs errno from name_to_id functions
This avoids the need for the confusing ESRCH mapping. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
This commit is contained in:
@ -54,8 +54,8 @@ static inline void nfsd_idmap_shutdown(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
int nfsd_map_name_to_uid(struct svc_rqst *, const char *, size_t, __u32 *);
|
||||
int nfsd_map_name_to_gid(struct svc_rqst *, const char *, size_t, __u32 *);
|
||||
__be32 nfsd_map_name_to_uid(struct svc_rqst *, const char *, size_t, __u32 *);
|
||||
__be32 nfsd_map_name_to_gid(struct svc_rqst *, const char *, size_t, __u32 *);
|
||||
int nfsd_map_uid_to_name(struct svc_rqst *, __u32, char *);
|
||||
int nfsd_map_gid_to_name(struct svc_rqst *, __u32, char *);
|
||||
|
||||
|
Reference in New Issue
Block a user