Re: [PATCH 14/26] NFS: merge _full and _partial read rpc_ops

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux