diff options
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 518b46555b80..e267bf0db559 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -865,7 +865,7 @@ extern void blk_execute_rq_nowait(struct request_queue *, struct gendisk *, | |||
865 | 865 | ||
866 | static inline struct request_queue *bdev_get_queue(struct block_device *bdev) | 866 | static inline struct request_queue *bdev_get_queue(struct block_device *bdev) |
867 | { | 867 | { |
868 | return bdev->bd_disk->queue; | 868 | return bdev->bd_disk->queue; /* this is never NULL */ |
869 | } | 869 | } |
870 | 870 | ||
871 | /* | 871 | /* |