block: cache the partition index in struct block_device
authorChristoph Hellwig <hch@lst.de>
Wed, 23 Aug 2017 17:10:31 +0000 (19:10 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 23 Aug 2017 18:49:53 +0000 (12:49 -0600)
commitc2ee070fb00365d7841f6661dcdc7fbe6620bdf8
tree9dca74294cfcbba84a8690e88f93590ae51cc35d
parent807d4af2f64ed79fdbb28e582e330be3dbe10d23
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>
fs/block_dev.c
include/linux/fs.h