• Jens Axboe's avatar
    [PATCH] make bio->bi_end_io() optional · 97565ed3
    Jens Axboe authored
    Sometimes we don't even need a bio->bi_end_io, so make it optional. This
    also encourages users to _use_ bio_endio()! I like that, since it means
    they don't have to remember to decrement bi_size themselves.
    
    Also clear bi_private in bio_init(), and switch to subsys_initcall().
    97565ed3
umem.c 34.7 KB