diff options
| author | Alexander Viro <viro@math.psu.edu> | 2002-05-24 03:32:15 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-05-24 03:32:15 -0700 |
| commit | 08b0fb25701e2b9ed53cdaf5bd0a2fe4c37c7951 (patch) | |
| tree | 78266592b398456a5d98bae126a44437006eba3a /include | |
| parent | f70ca4261d1a9fa6b49f2c813798fd6bf16ce2ae (diff) | |
[PATCH] kdev_t -> bdev cleanups [2/2]
- move the contents of bdev_get_queue() into do_open() and
check_partitions() and cache the result in new field of struct
block_device
- clean it at the same places that reset ->bd_op, etc.
- make bdev_get_queue() return cached pointer.
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index d593252f4825..0c7ec5ff6b9c 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -341,6 +341,7 @@ struct block_device { dev_t bd_dev; /* not a kdev_t - it's a search key */ int bd_openers; const struct block_device_operations *bd_op; + struct request_queue *bd_queue; struct semaphore bd_sem; /* open/close mutex */ struct list_head bd_inodes; void * bd_holder; |
