git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2e95c6
)
block: Add bio_list_peek()
author
Geert Uytterhoeven
<Geert.Uytterhoeven@sonycom.com>
Wed, 10 Jun 2009 04:38:40 +0000
(
04:38
+0000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Mon, 15 Jun 2009 06:47:21 +0000
(16:47 +1000)
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 <Geert.Uytterhoeven@sonycom.com>
Acked-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
No differences found