[PATCH] make bio->bi_end_io() optional
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().
Showing
Please register or sign in to comment