diff options
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 5d378627f446..57bc48446e92 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -921,7 +921,14 @@ extern struct request_queue *blk_init_queue(request_fn_proc *, spinlock_t *); | |||
921 | extern void blk_cleanup_queue(struct request_queue *); | 921 | extern void blk_cleanup_queue(struct request_queue *); |
922 | extern void blk_queue_make_request(struct request_queue *, make_request_fn *); | 922 | extern void blk_queue_make_request(struct request_queue *, make_request_fn *); |
923 | extern void blk_queue_bounce_limit(struct request_queue *, u64); | 923 | extern void blk_queue_bounce_limit(struct request_queue *, u64); |
924 | extern void blk_queue_max_sectors(struct request_queue *, unsigned int); | 924 | extern void blk_queue_max_hw_sectors(struct request_queue *, unsigned int); |
925 | |||
926 | /* Temporary compatibility wrapper */ | ||
927 | static inline void blk_queue_max_sectors(struct request_queue *q, unsigned int max) | ||
928 | { | ||
929 | blk_queue_max_hw_sectors(q, max); | ||
930 | } | ||
931 | |||
925 | extern void blk_queue_max_phys_segments(struct request_queue *, unsigned short); | 932 | extern void blk_queue_max_phys_segments(struct request_queue *, unsigned short); |
926 | extern void blk_queue_max_hw_segments(struct request_queue *, unsigned short); | 933 | extern void blk_queue_max_hw_segments(struct request_queue *, unsigned short); |
927 | extern void blk_queue_max_segment_size(struct request_queue *, unsigned int); | 934 | extern void blk_queue_max_segment_size(struct request_queue *, unsigned int); |