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, 6 Jan 2019 20:52:48 +0000 (13:52 -0700)
commit9390e50f0d33e54ba87036a063bf7cdbef9fba27
tree1892a11bb625a88bde3e29bbd4e2ce3f7f81d38c
parentf57421932d6af7195c2dfa14769b8e2dfa3cd052
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