mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 07:52:34 +00:00
Introduce bio_list_peek(), to obtain a pointer to the first bio on the bio_list without actually removing it from the list. This is needed when you want to serialize based on the list being empty or not. Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Jens Axboe <[email protected]> Signed-off-by: Benjamin Herrenschmidt <[email protected]>