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>
Sun, 24 Feb 2019 15:20:17 +0000 (08:20 -0700)
commiteae83ce10b4713d9f4f3419af16436f89c1a7172
tree38025badb32cde77d2558d4b7c8a152388466949
parentfb7e160019f4abb4082740bfeb27a38f6389c745
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: Hannes Reinecke <hare@suse.com>
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