projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
initrd: cast `initrd_start' to `void *'
[deliverable/linux.git]
/
block
/
blk.h
diff --git
a/block/blk.h
b/block/blk.h
index ec9120fb789a67c560df9c12e38dc8e0cc46a008..c79f30e1df52d8388c6c89505e97756f2f906098 100644
(file)
--- a/
block/blk.h
+++ b/
block/blk.h
@@
-10,7
+10,6
@@
extern struct kmem_cache *blk_requestq_cachep;
extern struct kobj_type blk_queue_ktype;
extern struct kmem_cache *blk_requestq_cachep;
extern struct kobj_type blk_queue_ktype;
-void rq_init(struct request_queue *q, struct request *rq);
void init_request_from_bio(struct request *req, struct bio *bio);
void blk_rq_bio_prep(struct request_queue *q, struct request *rq,
struct bio *bio);
void init_request_from_bio(struct request *req, struct bio *bio);
void blk_rq_bio_prep(struct request_queue *q, struct request *rq,
struct bio *bio);
@@
-52,4
+51,12
@@
static inline int queue_congestion_off_threshold(struct request_queue *q)
return q->nr_congestion_off;
}
return q->nr_congestion_off;
}
+#if defined(CONFIG_BLK_DEV_INTEGRITY)
+
+#define rq_for_each_integrity_segment(bvl, _rq, _iter) \
+ __rq_for_each_bio(_iter.bio, _rq) \
+ bip_for_each_vec(bvl, _iter.bio->bi_integrity, _iter.i)
+
+#endif /* BLK_DEV_INTEGRITY */
+
#endif
#endif
This page took
0.024897 seconds
and
5
git commands to generate.