aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/client.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2010-04-16 16:22:46 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2010-05-14 15:09:21 -0400
commit815409d22df870ea0b0d86f2a3bf33c35bcef55c (patch)
tree99fa8d5ac56d3f14fa1313739d3f9b65176f4e8f /fs/nfs/client.c
parent2d36bfde8565b315e624302d12da5a7c9d195522 (diff)
NFSv4: Eliminate nfs4_path_walk()
All we really want is the ability to retrieve the root file handle. We no longer need the ability to walk down the path, since that is now done in nfs_follow_remote_path(). Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r--fs/nfs/client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index acc9c4943b84..ac5ff21bef16 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -1364,7 +1364,7 @@ struct nfs_server *nfs4_create_server(const struct nfs_parsed_mount_data *data,
1364 goto error; 1364 goto error;
1365 1365
1366 /* Probe the root fh to retrieve its FSID */ 1366 /* Probe the root fh to retrieve its FSID */
1367 error = nfs4_path_walk(server, mntfh, data->nfs_server.export_path); 1367 error = nfs4_get_rootfh(server, mntfh);
1368 if (error < 0) 1368 if (error < 0)
1369 goto error; 1369 goto error;
1370 1370
@@ -1443,7 +1443,7 @@ struct nfs_server *nfs4_create_referral_server(struct nfs_clone_mount *data,
1443 BUG_ON(!server->nfs_client->rpc_ops->file_inode_ops); 1443 BUG_ON(!server->nfs_client->rpc_ops->file_inode_ops);
1444 1444
1445 /* Probe the root fh to retrieve its FSID and filehandle */ 1445 /* Probe the root fh to retrieve its FSID and filehandle */
1446 error = nfs4_path_walk(server, mntfh, data->mnt_path); 1446 error = nfs4_get_rootfh(server, mntfh);
1447 if (error < 0) 1447 if (error < 0)
1448 goto error; 1448 goto error;
1449 1449