diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-07-25 13:34:23 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2014-07-29 20:49:54 +0200 |
commit | f9416e281e53bea6f8e39c21f50fd79c029ba24a (patch) | |
tree | ed45a7c3dc43f38627f0824b22b7aa41a4261091 /fs/nfsd/nfs4state.c | |
parent | nfsd: Convert delegation counter to an atomic_long_t type (diff) | |
download | linux-f9416e281e53bea6f8e39c21f50fd79c029ba24a.tar.xz linux-f9416e281e53bea6f8e39c21f50fd79c029ba24a.zip |
nfsd: drop unused stp arg to alloc_init_deleg
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | fs/nfsd/nfs4state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c index b421b51c3a9e..049ef2ce72bf 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -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); |