]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/fs.h
block: cache the partition index in struct block_device
[mirror_ubuntu-bionic-kernel.git] / include / linux / fs.h
index 6e1fd5d2124877c16bbbfab4487a772c8f7e37ee..706dd3a972d2293495b1aa2bff5c9114bc455716 100644 (file)
@@ -427,6 +427,7 @@ struct block_device {
 #endif
        struct block_device *   bd_contains;
        unsigned                bd_block_size;
+       u8                      bd_partno;
        struct hd_struct *      bd_part;
        /* number of times partitions within this device have been opened. */
        unsigned                bd_part_count;