[lkml]   [2009]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 1/2] BKL: Remove BKL from default_llseek()
    On Wednesday 18 November 2009, Alan Cox wrote:
    > Stuff that looks trivial to salvage and works if you don't pread/write I
    > imagine
    > drivers/sbus/char/flash.c

    It also breaks if you do consecutive read() operations without an lseek
    between them, because read() does not update *pos. It should work if you
    read the whole thing with a single read() operation though, like
    the other drivers you mentioned.

    Arnd <><

     \ /
      Last update: 2009-11-18 20:21    [W:0.019 / U:31.708 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site