bcache: debug: avoid accessing .bi_io_vec directly
authorMing Lei <tom.leiming@gmail.com>
Fri, 11 Nov 2016 12:05:33 +0000 (20:05 +0800)
committerJens Axboe <axboe@fb.com>
Tue, 22 Nov 2016 15:57:55 +0000 (08:57 -0700)
commit4113b88a658772e09b3fe475a5a4b7c9a9cdc04b
tree22acc500d1bce0e7b9e8afa3c6f34cee7de010dd
parent84c8590646d5b35804bac60eb58b145839b5893e
bcache: debug: avoid accessing .bi_io_vec directly

Instead we use standard iterator way to do that.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/md/bcache/debug.c