• Neil Brown's avatar
    [PATCH] MD - Pass the correct bdev to md_error · a15b60a2
    Neil Brown authored
    Pass the correct bdev to md_error
    
    After a call to generic_make_request, bio->bi_bdev can have changed
    (e.g. by a re-mapped like raid0).  So we cannot trust it for reporting
    the source of an error.  This patch takes care to find the correct
    bdev.
    a15b60a2
raid1.c 35.1 KB