lkml.org 
[lkml]   [2000]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: kernel BUG at ll_rw_blk.c:711!
    Thanks Dave.

    I normally would have seen the patch floating around in linux-kernel,
    but I check the archives on kernelnotes.org and the archives have not
    been working since last Sep. 8.

    Cheers!

    Eloy.-

    On Wed, 13 Sep 2000, David S. Miller wrote:

    >
    > Known bug, Linus just hasn't made a pre-patch in a long
    > time with the fix. Here is the fix:
    >
    > --- vanilla/linux/fs/buffer.c Wed Sep 6 08:29:45 2000
    > +++ linux/fs/buffer.c Sun Sep 10 17:25:26 2000
    > @@ -1758,13 +1758,13 @@
    > pos += blocksize;
    > }
    >
    > + err = 0;
    > + if (!buffer_mapped(bh)) {
    > + get_block(inode, iblock, bh, 0);
    > + if (!buffer_mapped(bh))
    > + goto unlock;
    > + }
    > if (!buffer_uptodate(bh)) {
    > - err = 0;
    > - if (!buffer_mapped(bh)) {
    > - get_block(inode, iblock, bh, 0);
    > - if (!buffer_mapped(bh))
    > - goto unlock;
    > - }
    > err = -EIO;
    > bh->b_end_io = end_buffer_io_sync;
    > ll_rw_block(READ, 1, &bh);
    >

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

    \
     
     \ /
      Last update: 2005-03-22 13:15    [W:0.022 / U:6.116 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site