diff options
Diffstat (limited to 'include/linux/nfs_idmap.h')
-rw-r--r-- | include/linux/nfs_idmap.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/linux/nfs_idmap.h b/include/linux/nfs_idmap.h index 2dcef3ab58b6..0f4b79da6584 100644 --- a/include/linux/nfs_idmap.h +++ b/include/linux/nfs_idmap.h | |||
@@ -36,6 +36,7 @@ | |||
36 | #ifndef NFS_IDMAP_H | 36 | #ifndef NFS_IDMAP_H |
37 | #define NFS_IDMAP_H | 37 | #define NFS_IDMAP_H |
38 | 38 | ||
39 | #include <linux/uidgid.h> | ||
39 | #include <uapi/linux/nfs_idmap.h> | 40 | #include <uapi/linux/nfs_idmap.h> |
40 | 41 | ||
41 | 42 | ||
@@ -67,10 +68,10 @@ void nfs_fattr_init_names(struct nfs_fattr *fattr, | |||
67 | void nfs_fattr_free_names(struct nfs_fattr *); | 68 | void nfs_fattr_free_names(struct nfs_fattr *); |
68 | void nfs_fattr_map_and_free_names(struct nfs_server *, struct nfs_fattr *); | 69 | void nfs_fattr_map_and_free_names(struct nfs_server *, struct nfs_fattr *); |
69 | 70 | ||
70 | int nfs_map_name_to_uid(const struct nfs_server *, const char *, size_t, __u32 *); | 71 | int nfs_map_name_to_uid(const struct nfs_server *, const char *, size_t, kuid_t *); |
71 | int nfs_map_group_to_gid(const struct nfs_server *, const char *, size_t, __u32 *); | 72 | int nfs_map_group_to_gid(const struct nfs_server *, const char *, size_t, kgid_t *); |
72 | int nfs_map_uid_to_name(const struct nfs_server *, __u32, char *, size_t); | 73 | int nfs_map_uid_to_name(const struct nfs_server *, kuid_t, char *, size_t); |
73 | int nfs_map_gid_to_group(const struct nfs_server *, __u32, char *, size_t); | 74 | int nfs_map_gid_to_group(const struct nfs_server *, kgid_t, char *, size_t); |
74 | 75 | ||
75 | extern unsigned int nfs_idmap_cache_timeout; | 76 | extern unsigned int nfs_idmap_cache_timeout; |
76 | #endif /* NFS_IDMAP_H */ | 77 | #endif /* NFS_IDMAP_H */ |