]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/bio.h
perf_counter tools: Create new chain_for_each_child() iterator
[mv-sheeva.git] / include / linux / bio.h
index 12737be58601108f81f486fcdfac99c4875d8fb5..2a04eb54c0dd05b8eda048c8463b9a8eddabde46 100644 (file)
@@ -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;