Re: nfs3 implementation issue?

From: Trond Myklebust
Date: Thu Nov 17 2005 - 00:52:17 EST

On Thu, 2005-11-17 at 00:35 -0500, Xin Zhao wrote:
> In nfs/nfs3proc.c: nfs3_read_done(), I saw the following line:
> struct nfs_write_data *data = (struct nfs_write_data *) task->tk_calldata;
> I don't know why the tk_calldata is regarded as nfs_write_data instead
> of nfs_read_data. When this rpc call is set up, we put
> task->tk_calldata as a nfs_read_data object, why will it become a
> nfs_write_data after the rpc call is done?
> Can someone explain this a little bit?

Already fixed. See;a=commit;h=34123da66e613602de5a886b05c875b6a91b8ed2


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at