null_blk: move shared definitions to header file
authorMatias Bjørling <matias.bjorling@wdc.com>
Fri, 6 Jul 2018 17:38:38 +0000 (19:38 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Jul 2018 15:07:54 +0000 (09:07 -0600)
commit6dad38d38f20c0c8a84b5ae4f23c62b2c8758ec5
treed071d3f19526678b515794d88c46cb6b03838e9f
parente9a83853302b339e63dea4072f6210e5a88ab4bb
null_blk: move shared definitions to header file

Split the null_blk device driver, such that it can prepare for
zoned block interface support.

Signed-off-by: Matias Bjørling <matias.bjorling@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/null_blk.c
drivers/block/null_blk.h [new file with mode: 0644]