aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@SteelEye.com>2005-06-20 08:11:09 -0400
committerJens Axboe <axboe@suse.de>2005-06-20 08:11:09 -0400
commit994ca9a19616f0d4161a9e825f0835925d522426 (patch)
tree0998252ed375929dca468440b7486d4c1104757f /include/linux
parentf63eb21b4f32028755b6b9d47e5eb13c18ba0cae (diff)
[PATCH] update blk_execute_rq to take an at_head parameter
Original From: Mike Christie <michaelc@cs.wisc.edu> Modified to split out block changes (this patch) and SCSI pieces. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/blkdev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index 0430ea3e5f2e..a48dc12c6699 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -562,8 +562,8 @@ extern int blk_rq_map_user(request_queue_t *, struct request *, void __user *, u
562extern int blk_rq_unmap_user(struct bio *, unsigned int); 562extern int blk_rq_unmap_user(struct bio *, unsigned int);
563extern int blk_rq_map_kern(request_queue_t *, struct request *, void *, unsigned int, unsigned int); 563extern int blk_rq_map_kern(request_queue_t *, struct request *, void *, unsigned int, unsigned int);
564extern int blk_rq_map_user_iov(request_queue_t *, struct request *, struct sg_iovec *, int); 564extern int blk_rq_map_user_iov(request_queue_t *, struct request *, struct sg_iovec *, int);
565extern int blk_execute_rq(request_queue_t *, struct gendisk *, struct request *); 565extern int blk_execute_rq(request_queue_t *, struct gendisk *,
566 566 struct request *, int);
567static inline request_queue_t *bdev_get_queue(struct block_device *bdev) 567static inline request_queue_t *bdev_get_queue(struct block_device *bdev)
568{ 568{
569 return bdev->bd_disk->queue; 569 return bdev->bd_disk->queue;