]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/fs.h
vfs: cache request_queue in struct block_device
[karo-tx-linux.git] / include / linux / fs.h
index ab5af170b956e17ac172341ba3a27a7e9ecee5ea..616b1c8e44314947f4b2d8d41d72f401613f4348 100644 (file)
@@ -656,6 +656,7 @@ struct address_space {
         * must be enforced here for CRIS, to let the least significant bit
         * of struct page's "mapping" pointer be used for PAGE_MAPPING_ANON.
         */
+struct request_queue;
 
 struct block_device {
        dev_t                   bd_dev;  /* not a kdev_t - it's a search key */
@@ -678,6 +679,7 @@ struct block_device {
        unsigned                bd_part_count;
        int                     bd_invalidated;
        struct gendisk *        bd_disk;
+       struct request_queue *  bd_queue;
        struct list_head        bd_list;
        /*
         * Private data.  You must have bd_claim'ed the block_device