aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/client.c
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2015-06-30 23:55:50 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-07-01 11:29:10 -0400
commit71f81e51ee0dc6d523a5229096c32eca2ab58bbb (patch)
treea7553303ecfbe9f8e928cbee02f103571f658354 /fs/nfs/client.c
parent6b55970b0f8057a40f964d3dcfa4a687f675b5e2 (diff)
nfs: Remove unused argument in nfs_server_set_fsinfo()
Commit e38eb6506f "NFS: set_pnfs_layoutdriver() from nfs4_proc_fsinfo()" have remove the using of mntfh from nfs_server_set_fsinfo(). Signed-off-by: Kinglong Mee <kinglongmee@gmail.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/client.c')
-rw-r--r--fs/nfs/client.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index 1e37491904ee..7b3e5c367f5b 100644
--- a/fs/nfs/client.c
+++ b/fs/nfs/client.c
@@ -825,7 +825,6 @@ error:
825 * Load up the server record from information gained in an fsinfo record 825 * Load up the server record from information gained in an fsinfo record
826 */ 826 */
827static void nfs_server_set_fsinfo(struct nfs_server *server, 827static void nfs_server_set_fsinfo(struct nfs_server *server,
828 struct nfs_fh *mntfh,
829 struct nfs_fsinfo *fsinfo) 828 struct nfs_fsinfo *fsinfo)
830{ 829{
831 unsigned long max_rpc_payload; 830 unsigned long max_rpc_payload;
@@ -901,7 +900,7 @@ int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *mntfh, struct nfs
901 if (error < 0) 900 if (error < 0)
902 goto out_error; 901 goto out_error;
903 902
904 nfs_server_set_fsinfo(server, mntfh, &fsinfo); 903 nfs_server_set_fsinfo(server, &fsinfo);
905 904
906 /* Get some general file system info */ 905 /* Get some general file system info */
907 if (server->namelen == 0) { 906 if (server->namelen == 0) {