diff options
author | FUJITA Tomonori <tomof@acm.org> | 2006-12-20 05:18:54 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-07-16 02:52:44 -0400 |
commit | 337ad41deae1b56e56731246322a93251df86e79 (patch) | |
tree | 961e38d42e8e7c99c4b48317e48010fa2446332e /include/linux/blkdev.h | |
parent | 9e69fbb5373f7c081acdf2b75d7bac7e95023dd1 (diff) |
block: export blk_verify_command for SG v4
blk_fill_sghdr_rq doesn't work for SG v4 so verify_command needed to
be exported.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 53002d40efa2..f6bc0d03ffad 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -692,6 +692,7 @@ extern int blk_fill_sghdr_rq(request_queue_t *, struct request *, | |||
692 | extern int blk_unmap_sghdr_rq(struct request *, struct sg_io_hdr *); | 692 | extern int blk_unmap_sghdr_rq(struct request *, struct sg_io_hdr *); |
693 | extern int blk_complete_sghdr_rq(struct request *, struct sg_io_hdr *, | 693 | extern int blk_complete_sghdr_rq(struct request *, struct sg_io_hdr *, |
694 | struct bio *); | 694 | struct bio *); |
695 | extern int blk_verify_command(unsigned char *, int); | ||
695 | 696 | ||
696 | static inline request_queue_t *bdev_get_queue(struct block_device *bdev) | 697 | static inline request_queue_t *bdev_get_queue(struct block_device *bdev) |
697 | { | 698 | { |