lkml.org 
[lkml]   [2010]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[RESEND][BUG][PATCH]-rc: USB: yurex: add .llseek fop to file_operations
    Hi Greg-KH,
    Sorry for resending this; To: was not enough.

    https://bugzilla.kernel.org/show_bug.cgi?id=23512

    Default llseek operation behavior was changed by the patch named
    "vfs: make no_llseek the default" after the yurex driver was merged,
    so the llseek to yurex is now ignored.

    This patch add llseek fop with default_llseek to yurex driver
    to catch up to the change.

    Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@gmail.com>

    1 files changed, 1 insertions(+), 0 deletions(-)

    diff --git a/drivers/usb/misc/yurex.c b/drivers/usb/misc/yurex.c
    index 719c618..ac5bfd6 100644
    --- a/drivers/usb/misc/yurex.c
    +++ b/drivers/usb/misc/yurex.c
    @@ -536,6 +536,7 @@ static const struct file_operations yurex_fops = {
    .open = yurex_open,
    .release = yurex_release,
    .fasync = yurex_fasync,
    + .llseek = default_llseek,
    };


    --
    1.7.0


    \
     
     \ /
      Last update: 2010-11-25 17:13    [W:3.534 / U:0.164 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site