• Angus Sawyer's avatar
    [PATCH] Fix for raid1 against 2.5.43 · a63ca30f
    Angus Sawyer authored
    A cloned bio still needs destructor set (and should clear bi_io_vec as
    well), this was broken when Jens rewrote bio_alloc() recently.
    
    This should now be OK with the mempool_alloc failing, and initialises
    bi_io_vec = NULL for nr_iovecs = 0.
    a63ca30f
bio.c 12.9 KB