aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/blkdev.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 90e6914bea0c..ad49a775c54f 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -1026,21 +1026,9 @@ void blk_steal_bios(struct bio_list *list, struct request *rq);
1026 * 1026 *
1027 * blk_update_request() completes given number of bytes and updates 1027 * blk_update_request() completes given number of bytes and updates
1028 * the request without completing it. 1028 * the request without completing it.
1029 *
1030 * blk_end_request() and friends. __blk_end_request() must be called
1031 * with the request queue spinlock acquired.
1032 *
1033 * Several drivers define their own end_request and call
1034 * blk_end_request() for parts of the original function.
1035 * This prevents code duplication in drivers.
1036 */ 1029 */
1037extern bool blk_update_request(struct request *rq, blk_status_t error, 1030extern bool blk_update_request(struct request *rq, blk_status_t error,
1038 unsigned int nr_bytes); 1031 unsigned int nr_bytes);
1039extern void blk_end_request_all(struct request *rq, blk_status_t error);
1040extern bool __blk_end_request(struct request *rq, blk_status_t error,
1041 unsigned int nr_bytes);
1042extern void __blk_end_request_all(struct request *rq, blk_status_t error);
1043extern bool __blk_end_request_cur(struct request *rq, blk_status_t error);
1044 1032
1045extern void __blk_complete_request(struct request *); 1033extern void __blk_complete_request(struct request *);
1046extern void blk_abort_request(struct request *); 1034extern void blk_abort_request(struct request *);