diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-05-10 15:07:30 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-05-14 20:30:25 -0400 |
commit | 3028eb2b324c517da1e9e589743c4a5154f70dd1 (patch) | |
tree | 9f2f13e0bea581bac9f68a8f516a3018e3d78e15 /fs/nfs/nfs4_fs.h | |
parent | 0427708657750bdc03af3491a0297cab5e7efabf (diff) |
NFS: Rename nfs4_proc_get_root()
This function is really getting the root filehandle and not the root
dentry of the filesystem. I also removed the rpc_ops lookup from
nfs4_get_rootfh() under the assumption that if we reach this function
then we already know we are using NFS v4.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4_fs.h')
-rw-r--r-- | fs/nfs/nfs4_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/nfs/nfs4_fs.h b/fs/nfs/nfs4_fs.h index 97365b0f9d3f..edeef71f957a 100644 --- a/fs/nfs/nfs4_fs.h +++ b/fs/nfs/nfs4_fs.h | |||
@@ -214,6 +214,7 @@ struct vfsmount *nfs4_submount(struct nfs_server *, struct dentry *, | |||
214 | /* nfs4proc.c */ | 214 | /* nfs4proc.c */ |
215 | extern int nfs4_proc_setclientid(struct nfs_client *, u32, unsigned short, struct rpc_cred *, struct nfs4_setclientid_res *); | 215 | extern int nfs4_proc_setclientid(struct nfs_client *, u32, unsigned short, struct rpc_cred *, struct nfs4_setclientid_res *); |
216 | extern int nfs4_proc_setclientid_confirm(struct nfs_client *, struct nfs4_setclientid_res *arg, struct rpc_cred *); | 216 | extern int nfs4_proc_setclientid_confirm(struct nfs_client *, struct nfs4_setclientid_res *arg, struct rpc_cred *); |
217 | extern int nfs4_proc_get_rootfh(struct nfs_server *, struct nfs_fh *, struct nfs_fsinfo *); | ||
217 | extern int nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred); | 218 | extern int nfs4_proc_exchange_id(struct nfs_client *clp, struct rpc_cred *cred); |
218 | extern int nfs4_init_clientid(struct nfs_client *, struct rpc_cred *); | 219 | extern int nfs4_init_clientid(struct nfs_client *, struct rpc_cred *); |
219 | extern int nfs41_init_clientid(struct nfs_client *, struct rpc_cred *); | 220 | extern int nfs41_init_clientid(struct nfs_client *, struct rpc_cred *); |