lkml.org 
[lkml]   [2007]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 6/18] splice: add void cookie to the actor data
    Date
    We need that for passing driver private info.

    Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
    ---
    include/linux/pipe_fs_i.h | 1 +
    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/include/linux/pipe_fs_i.h b/include/linux/pipe_fs_i.h
    index c2bda03..1789ec7 100644
    --- a/include/linux/pipe_fs_i.h
    +++ b/include/linux/pipe_fs_i.h
    @@ -94,6 +94,7 @@ struct splice_desc {
    union {
    void __user *userptr; /* memory to write to */
    struct file *file; /* file to read/write */
    + void *data; /* cookie */
    };
    loff_t pos; /* file position */
    };
    --
    1.5.2.1.174.gcd03
    -
    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: 2007-06-12 09:05    [W:0.022 / U:0.412 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site