aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4xdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/nfs4xdr.c')
-rw-r--r--fs/nfs/nfs4xdr.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index a7b5de899c6d..5d6bda43dfaa 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -1615,12 +1615,6 @@ static int nfs4_xdr_enc_lock(struct rpc_rqst *req, uint32_t *p, struct nfs_lock_
1615 }; 1615 };
1616 int status; 1616 int status;
1617 1617
1618 status = nfs_wait_on_sequence(args->lock_seqid, req->rq_task);
1619 if (status != 0)
1620 goto out;
1621 /* Do we need to do an open_to_lock_owner? */
1622 if (args->lock_seqid->sequence->flags & NFS_SEQID_CONFIRMED)
1623 args->new_lock_owner = 0;
1624 xdr_init_encode(&xdr, &req->rq_snd_buf, p); 1618 xdr_init_encode(&xdr, &req->rq_snd_buf, p);
1625 encode_compound_hdr(&xdr, &hdr); 1619 encode_compound_hdr(&xdr, &hdr);
1626 status = encode_putfh(&xdr, args->fh); 1620 status = encode_putfh(&xdr, args->fh);