aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4xdr.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2006-01-03 03:55:17 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2006-01-06 14:58:44 -0500
commita5d16a4d090bd2af86e648ed9bb205903fcf1e86 (patch)
tree9fd615f3991e50d07583010d9703a3d1aced8419 /fs/nfs/nfs4xdr.c
parent911d1aaf26fc4d771174d98fcab710a44e2a5fa0 (diff)
NFSv4: Convert LOCK rpc call into an asynchronous RPC call
In order to allow users to interrupt/cancel it. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
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);