kernels/linux-2.4.0/fs/nfs/nfs2xdr.c
/*
 * Encode directory ops argument
 * LOOKUP, REMOVE, RMDIR
 */
Encode directory ops argument
LOOKUP, REMOVE, RMDIR
Encode directory ops argument LOOKUP REMOVE RMDIR
static int
nfs_xdr_diropargs(struct rpc_rqst *req, u32 *p, struct nfs_diropargs *args)
{
	p = xdr_encode_fhandle(p, args->fh);
	p = xdr_encode_array(p, args->name, args->len);
	req->rq_slen = xdr_adjust_iovec(req->rq_svec, p);
	return 0;
}
static int nfs_xdr_diropargs ( struct rpc_rqst * req , u32 * p , struct nfs_diropargs * args ) { p = xdr_encode_fhandle ( p , args -> fh ) ; p = xdr_encode_array ( p , args -> name , args -> len ) ; req -> rq_slen = xdr_adjust_iovec ( req -> rq_svec , p ) ; return 0 ; }
Encode directory ops argument
 LOOKUP, REMOVE, RMDIR
Encode directory ops argument LOOKUP REMOVE RMDIR