block: cache the partition index in struct block_device
Signed-off-by: Christoph Hellwig <hch@lst.de>Signed-off-by: Jens Axboe <axboe@kernel.dk>
authored by Christoph Hellwig and committed by Jens Axboe 8 years ago c2ee070f 807d4af2