Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: include blk-mq.h in bio tools
Kernel commit 24b83deb29b ("block: move struct request to blk-mq.h") has moved struct request from blkdev.h to blk-mq.h. It results in several bio tools to fail with errors of the following type: error: incomplete definition of type 'struct request' Since blk-mq.h had always included blkdev.h. it is safe to simply replace the inclusion of blkdev.h by blk-mq-h. It works on both older and newer kernel. Fixes: iovisor#3869 Signed-off-by: Jerome Marchand <[email protected]>
- Loading branch information