btrfs: index check-integrity state hash by a dev_t
authorChristoph Hellwig <hch@lst.de>
Wed, 23 Aug 2017 17:10:27 +0000 (19:10 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 23 Aug 2017 18:49:47 +0000 (12:49 -0600)
commitf8f84b2dfda5a74c56536a9e9092d2a5d761db78
tree7c87a4b14da0778e2e5f835f07aa735f41ea05a2
parent744353b6951c3b7adbb9e4a1b2a529eabde61970
btrfs: index check-integrity state hash by a dev_t

We won't have the struct block_device available in the bio soon, so switch
to the numerical dev_t instead of the block_device pointer for looking up
the check-integrity state.

Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/btrfs/check-integrity.c