diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/blkdev.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 1341df5806df..8f3dd981b973 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -860,7 +860,7 @@ extern void blk_queue_max_segment_size(struct request_queue *, unsigned int); | |||
860 | extern void blk_queue_max_discard_sectors(struct request_queue *q, | 860 | extern void blk_queue_max_discard_sectors(struct request_queue *q, |
861 | unsigned int max_discard_sectors); | 861 | unsigned int max_discard_sectors); |
862 | extern void blk_queue_logical_block_size(struct request_queue *, unsigned short); | 862 | extern void blk_queue_logical_block_size(struct request_queue *, unsigned short); |
863 | extern void blk_queue_physical_block_size(struct request_queue *, unsigned short); | 863 | extern void blk_queue_physical_block_size(struct request_queue *, unsigned int); |
864 | extern void blk_queue_alignment_offset(struct request_queue *q, | 864 | extern void blk_queue_alignment_offset(struct request_queue *q, |
865 | unsigned int alignment); | 865 | unsigned int alignment); |
866 | extern void blk_limits_io_min(struct queue_limits *limits, unsigned int min); | 866 | extern void blk_limits_io_min(struct queue_limits *limits, unsigned int min); |
@@ -1013,7 +1013,7 @@ static inline unsigned int queue_physical_block_size(struct request_queue *q) | |||
1013 | return q->limits.physical_block_size; | 1013 | return q->limits.physical_block_size; |
1014 | } | 1014 | } |
1015 | 1015 | ||
1016 | static inline int bdev_physical_block_size(struct block_device *bdev) | 1016 | static inline unsigned int bdev_physical_block_size(struct block_device *bdev) |
1017 | { | 1017 | { |
1018 | return queue_physical_block_size(bdev_get_queue(bdev)); | 1018 | return queue_physical_block_size(bdev_get_queue(bdev)); |
1019 | } | 1019 | } |