/* Do we need to do an open_to_lock_owner? */ if (opargs->lock_seqid->sequence->flags & NFS_SEQID_CONFIRMED) opargs->new_lock_owner = 0; 
static int nfs4_xdr_enc_lock(struct rpc_rqst *req, uint32_t *p, struct nfs_lockargs *args){	struct xdr_stream xdr;	struct compound_hdr hdr = {		.nops   = 2,	};	struct nfs_lock_opargs *opargs = args->u.lock;	struct nfs_seqid *seqid;	int status;	if (opargs->new_lock_owner)		seqid = opargs->u.open_lock->lock_seqid;	else		seqid = opargs->u.exist_lock->seqid;	status = nfs_wait_on_sequence(seqid, req->rq_task);	if (status != 0)		goto out;	xdr_init_encode(&xdr, &req->rq_snd_buf, p);	encode_compound_hdr(&xdr, &hdr);	status = encode_putfh(&xdr, args->fh);	if(status)		goto out;	status = encode_lock(&xdr, args);out:	return status;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/06735b3454824bd561decbde46111f144e905923/nfs4xdr.c/buggy/fs/nfs/nfs4xdr.c