diff options
| author | Alexander Viro <viro@math.psu.edu> | 2002-10-28 02:50:55 -0800 |
|---|---|---|
| committer | James Bottomley <jejb@mulgrave.(none)> | 2002-10-28 02:50:55 -0800 |
| commit | eaa0bfbd94dad923cb4de7c9eff7a60af11abe82 (patch) | |
| tree | 62e0efcc75c9b2e8274b91c6a803b0c0ff859aa0 /include/linux/blkdev.h | |
| parent | 0b0f135d8a073dcb47604f80d8f2946cf1c47687 (diff) | |
[PATCH] block_device_operations always picked from gendisk
* do_open() cleaned up
* we always pick block_device_operations from gendisk->fops now
* register_blkdev() just stores the name of driver, nothing more
* ->bd_op and ->bd_queue removed - we have that in gendisk
* get_blkfops() is gone
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 62cd5652cf8c..c202131adc1f 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h @@ -312,7 +312,7 @@ extern void __blk_stop_queue(request_queue_t *q); static inline request_queue_t *bdev_get_queue(struct block_device *bdev) { - return bdev->bd_queue; + return bdev->bd_disk->queue; } /* |
