lkml.org 
[lkml]   [1999]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    SubjectPATCH: AFFS breakage
    Date
    Duhh, overzealous fixing for the 2048 byte stuff ;)


    --- drivers/block/genhd.c~ Mon Feb 1 22:06:27 1999
    +++ drivers/block/genhd.c Sat Feb 20 01:06:46 1999
    @@ -879,7 +879,7 @@
    res = 0;

    for (blk = 0; blk < RDB_ALLOCATION_LIMIT; blk++) {
    - if(!(bh = bread(dev,blk,get_ptable_blocksize(dev)))) {
    + if(!(bh = bread(dev,blk,512))) {
    printk("Dev %s: unable to read RDB block %d\n",
    kdevname(dev),blk);
    goto rdb_done;
    @@ -896,7 +896,7 @@
    blk = htonl(rdb->rdb_PartitionList);
    brelse(bh);
    for (part = 1; blk > 0 && part <= 16; part++) {
    - if (!(bh = bread(dev,blk, get_ptable_blocksize(dev)))) {
    + if (!(bh = bread(dev,blk, 512))) {
    printk("Dev %s: unable to read partition block %d\n",
    kdevname(dev),blk);
    goto rdb_done;
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:50    [W:0.032 / U:0.136 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site