From: Geert Uytterhoeven Date: Wed, 10 Jun 2009 04:38:40 +0000 (+0000) Subject: block: Add bio_list_peek() X-Git-Tag: v2.6.31-rc1~314^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13685a1654b65357fb34066a98ef40445f7820fc;p=pandora-kernel.git block: Add bio_list_peek() 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 Acked-by: Jens Axboe Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed