diff options
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r-- | fs/nfs/client.c | 4 |
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 | ||