block: wire up block device iopoll method
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Nov 2018 15:31:52 +0000 (08:31 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 3 Jan 2019 15:14:02 +0000 (08:14 -0700)
commit2182b4042a5ad1c2c124f0640bb1f2d2a1199f63
tree86730c2a385da6f8bec80680e86fc9b0fc883dac
parent23b9c65df4b3f433722b372385de15d09e8bd5b8
block: wire up block device iopoll method

Just call blk_poll on the iocb cookie, we can derive the block device
from the inode trivially.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/block_dev.c