nfsd: drop unused stp arg to alloc_init_deleg
authorJeff Layton <jlayton@primarydata.com>
Fri, 25 Jul 2014 11:34:23 +0000 (07:34 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 29 Jul 2014 18:49:54 +0000 (14:49 -0400)
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c

index b421b51c3a9e0c07a74b94bb326fe62767daf420..049ef2ce72bfe8c98100cd63d5d0fbd19fbf1057 100644 (file)
@@ -579,7 +579,7 @@ static void block_delegations(struct knfsd_fh *fh)
 }
 
 static struct nfs4_delegation *
-alloc_init_deleg(struct nfs4_client *clp, struct nfs4_ol_stateid *stp, struct svc_fh *current_fh)
+alloc_init_deleg(struct nfs4_client *clp, struct svc_fh *current_fh)
 {
        struct nfs4_delegation *dp;
        long n;
@@ -3649,7 +3649,7 @@ nfs4_open_delegation(struct net *net, struct svc_fh *fh,
                default:
                        goto out_no_deleg;
        }
-       dp = alloc_init_deleg(oo->oo_owner.so_client, stp, fh);
+       dp = alloc_init_deleg(oo->oo_owner.so_client, fh);
        if (dp == NULL)
                goto out_no_deleg;
        status = nfs4_set_delegation(dp, stp->st_file);