Skip to content

Commit

Permalink
nfs: Remove unused argument in nfs_server_set_fsinfo()
Browse files Browse the repository at this point in the history
Commit e38eb65 "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>
  • Loading branch information
Kinglong Mee authored and Trond Myklebust committed Jul 1, 2015
1 parent 6b55970 commit 71f81e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions fs/nfs/client.c
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,6 @@ static int nfs_init_server(struct nfs_server *server,
* Load up the server record from information gained in an fsinfo record
*/
static void nfs_server_set_fsinfo(struct nfs_server *server,
struct nfs_fh *mntfh,
struct nfs_fsinfo *fsinfo)
{
unsigned long max_rpc_payload;
Expand Down Expand Up @@ -901,7 +900,7 @@ int nfs_probe_fsinfo(struct nfs_server *server, struct nfs_fh *mntfh, struct nfs
if (error < 0)
goto out_error;

nfs_server_set_fsinfo(server, mntfh, &fsinfo);
nfs_server_set_fsinfo(server, &fsinfo);

/* Get some general file system info */
if (server->namelen == 0) {
Expand Down

0 comments on commit 71f81e5

Please sign in to comment.