• Jens Axboe's avatar
    [PATCH] md sync_page_io bio leak · c581cb61
    Jens Axboe authored
    I accidentally introduced a leak in there, because the end_io function
    doesn't do a bio_put() like most others. Fortunately it's not critical,
    as it only happens on the md super block read. So just drop the initial
    bio_get(), since it's sync we can just bio_put() safely at the end after
    it has completed.
    Signed-off-by: default avatarJens Axboe <axboe@suse.de>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    c581cb61
md.c 87.2 KB