On Mon, Apr 16, 2012 at 4:41 PM, Myklebust, Trond
<Trond.Myklebust@xxxxxxxxxx> wrote:
> BTW: It makes me nervous that we can allocate a struct nfs_read_data
> that does not have data->header set. Could we please always pass an
> nfs_pgio_header argument?
>
> If you make sure that the above function always bumps header->refcnt,
> then you can check if header->rpc_data is allocated by seeing if
> header->refcnt is zero.
>
> BTW: The same applies to the "write" equivalents...
>
OK
Fred
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux USB Development]
[Linux Media Development]
[Video for Linux]
[Linux NILFS]
[Linux Audio Users]
[Photo]
[Yosemite Info]
[Yosemite Photos]
[POF Sucks]
[Linux Kernel]
[Linux SCSI]
[XFree86]