]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1bc385ab1ff041ff49f00c846602778cec0b79c9
tree7c87a4b14da0778e2e5f835f07aa735f41ea05a2
parent5b94c44036e7cb536a9d226eb71e35f76d8fbae2
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