diff options
author | Bryan Schumaker <bjschuma@netapp.com> | 2012-04-27 13:27:46 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-04-27 14:10:39 -0400 |
commit | 80a16b21a81eb639f0b726549f4c46c0e9aff92e (patch) | |
tree | 5095cb05498d16e64976b03c38b3fcdaa83e4ecb /fs/nfs/namespace.c | |
parent | 281cad46b34db4dbb1d1e603f7b9cfe25d1ae7c9 (diff) |
NFS: Remove extra rpc_clnt argument to proc_lookup
Now that I'm doing secinfo automatically in the v4 code this extra
argument isn't needed.
Signed-off-by: Bryan Schumaker <bjschuma@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/namespace.c')
-rw-r--r-- | fs/nfs/namespace.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/namespace.c b/fs/nfs/namespace.c index e36fd8a51819..08b9c93675da 100644 --- a/fs/nfs/namespace.c +++ b/fs/nfs/namespace.c | |||
@@ -261,8 +261,7 @@ struct vfsmount *nfs_submount(struct nfs_server *server, struct dentry *dentry, | |||
261 | struct dentry *parent = dget_parent(dentry); | 261 | struct dentry *parent = dget_parent(dentry); |
262 | 262 | ||
263 | /* Look it up again to get its attributes */ | 263 | /* Look it up again to get its attributes */ |
264 | err = server->nfs_client->rpc_ops->lookup(server->client, parent->d_inode, | 264 | err = server->nfs_client->rpc_ops->lookup(parent->d_inode, &dentry->d_name, fh, fattr); |
265 | &dentry->d_name, fh, fattr); | ||
266 | dput(parent); | 265 | dput(parent); |
267 | if (err != 0) | 266 | if (err != 0) |
268 | return ERR_PTR(err); | 267 | return ERR_PTR(err); |