summaryrefslogtreecommitdiff
path: root/include/linux/nfs_idmap.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@fys.uio.no>2004-02-07 17:02:21 +0100
committerTrond Myklebust <trond.myklebust@fys.uio.no>2004-02-07 17:02:21 +0100
commit1f37cd43d9e866e99f81ffe6141b49cc6f83f619 (patch)
tree3986be21171a096163cad0913332d48326b6e663 /include/linux/nfs_idmap.h
parentc04e88dbd89ec891a252ffe09378310dd1d18546 (diff)
NFSv4: Fix a bug which was causing Oopses if the client was
mounting more than one partition from the same server.
Diffstat (limited to 'include/linux/nfs_idmap.h')
-rw-r--r--include/linux/nfs_idmap.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/nfs_idmap.h b/include/linux/nfs_idmap.h
index c95076e5941b..50df56b5a01e 100644
--- a/include/linux/nfs_idmap.h
+++ b/include/linux/nfs_idmap.h
@@ -60,13 +60,13 @@ struct idmap_msg {
};
#ifdef __KERNEL__
-void *nfs_idmap_new(struct nfs_server *);
-void nfs_idmap_delete(struct nfs_server *);
+void nfs_idmap_new(struct nfs4_client *);
+void nfs_idmap_delete(struct nfs4_client *);
-int nfs_map_name_to_uid(struct nfs_server *, const char *, size_t, __u32 *);
-int nfs_map_group_to_gid(struct nfs_server *, const char *, size_t, __u32 *);
-int nfs_map_uid_to_name(struct nfs_server *, __u32, char *);
-int nfs_map_gid_to_group(struct nfs_server *, __u32, char *);
+int nfs_map_name_to_uid(struct nfs4_client *, const char *, size_t, __u32 *);
+int nfs_map_group_to_gid(struct nfs4_client *, const char *, size_t, __u32 *);
+int nfs_map_uid_to_name(struct nfs4_client *, __u32, char *);
+int nfs_map_gid_to_group(struct nfs4_client *, __u32, char *);
#endif /* __KERNEL__ */
#endif /* NFS_IDMAP_H */