diff options
Diffstat (limited to 'include/linux/bio.h')
-rw-r--r-- | include/linux/bio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/bio.h b/include/linux/bio.h index ec48bac5b039..4c2775443dcf 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h | |||
@@ -419,6 +419,8 @@ static inline void bio_list_init(struct bio_list *bl) | |||
419 | bl->head = bl->tail = NULL; | 419 | bl->head = bl->tail = NULL; |
420 | } | 420 | } |
421 | 421 | ||
422 | #define BIO_EMPTY_LIST { NULL, NULL } | ||
423 | |||
422 | #define bio_list_for_each(bio, bl) \ | 424 | #define bio_list_for_each(bio, bl) \ |
423 | for (bio = (bl)->head; bio; bio = bio->bi_next) | 425 | for (bio = (bl)->head; bio; bio = bio->bi_next) |
424 | 426 | ||