lkml.org 
[lkml]   [2005]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    Subjectnfs3 implementation issue?
    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?

    Thanks!

    Xin
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-11-17 06:40    [W:0.020 / U:0.200 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site