Thread (19 messages) flat view 19 messages, 2 authors, 2017-02-28

Re: [PATCH v1 01/14] block: introduce bio_segments_all()

From: Christoph Hellwig <hch@infradead.org>
Date: 2017-02-25 18:22:21
Also in: linux-raid, lkml

+static inline unsigned bio_segments_all(struct bio *bio)
+{
+	WARN_ON_ONCE(bio_flagged(bio, BIO_CLONED));
+
+	return bio->bi_vcnt;
+}
I don't think this helpers really adds any benefit.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help