struct nfs_open_to_lock *ol = opargs->u.open_lock;  
static int encode_lock(struct xdr_stream *xdr, const struct nfs_lockargs *arg){	uint32_t *p;	struct nfs_lock_opargs *opargs = arg->u.lock;	RESERVE_SPACE(32);	WRITE32(OP_LOCK);	WRITE32(arg->type); 	WRITE32(opargs->reclaim);	WRITE64(arg->offset);	WRITE64(arg->length);	WRITE32(opargs->new_lock_owner);	if (opargs->new_lock_owner){		struct nfs_open_to_lock *ol = opargs->u.open_lock;		RESERVE_SPACE(40);		WRITE32(ol->open_seqid->sequence->counter);		WRITEMEM(&ol->open_stateid, sizeof(ol->open_stateid));		WRITE32(ol->lock_seqid->sequence->counter);		WRITE64(ol->lock_owner.clientid);		WRITE32(4);		WRITE32(ol->lock_owner.id);	}	else {		struct nfs_exist_lock *el = opargs->u.exist_lock;		RESERVE_SPACE(20);		WRITEMEM(&el->stateid, sizeof(el->stateid));		WRITE32(el->seqid->sequence->counter);	}	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/06735b3454824bd561decbde46111f144e905923/nfs4xdr.c/buggy/fs/nfs/nfs4xdr.c