• Andrew Morton's avatar
    [PATCH] direct IO fixes · 0ea7efc9
    Andrew Morton authored
    Some direct IO fixes from Badari Pulavarty.
    
    - off-by-one in the bounds checking in blkdev_get_blocks().
    
    - When adding more blocks into a bio_vec, account for the current
      offset into that bio_vec.
    
    - Fix a total ballsup in the code which calculates the total number
      of pages which are about to be put under IO.
    0ea7efc9
block_dev.c 20.7 KB