From 9d76973b6e58077a4ef6e5b46e5c76d073721661 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Wed, 10 Jun 2009 04:38:40 +0000 Subject: [PATCH] --- yaml --- r: 151071 b: refs/heads/master c: 13685a1654b65357fb34066a98ef40445f7820fc h: refs/heads/master i: 151069: 056449b8be0f26e5a4756e66ecc0ddda858f7d76 151067: 8f2ece360c7cb913967749df45aea6b83c1d5d13 151063: bd3f84c25a220c4df872d8aeeeacd3b37424be32 151055: c5a9cc43c49ff61b11606f074e4db20c26d23da6 151039: ff9da0cf2ccf8bbaf08de65674c293319db2ea01 v: v3 --- [refs] | 2 +- trunk/include/linux/bio.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 025a51899cff..f3d472999f4a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c2e95c6d7a9b9d8f023c3639edbb1da65ccd15ac +refs/heads/master: 13685a1654b65357fb34066a98ef40445f7820fc diff --git a/trunk/include/linux/bio.h b/trunk/include/linux/bio.h index 12737be58601..2a04eb54c0dd 100644 --- a/trunk/include/linux/bio.h +++ b/trunk/include/linux/bio.h @@ -590,6 +590,11 @@ static inline void bio_list_merge_head(struct bio_list *bl, bl->head = bl2->head; } +static inline struct bio *bio_list_peek(struct bio_list *bl) +{ + return bl->head; +} + static inline struct bio *bio_list_pop(struct bio_list *bl) { struct bio *bio = bl->head;