null_blk: use device addressing mode
authorMatias Bjørling <m@bjorling.me>
Thu, 19 Nov 2015 11:50:09 +0000 (12:50 +0100)
committerJens Axboe <axboe@fb.com>
Thu, 19 Nov 2015 22:15:54 +0000 (15:15 -0700)
commit5b40db99099ddebe31e9b1b759894cf09c0c6679
tree9d01fffe8423ffdfe9225bbab694473fb2fa662c
parent6bb9535bc3f59194a0ae17b17ca71aecd0f7e3a2
null_blk: use device addressing mode

The linear addressing mode was removed in 7386af2. Make null_blk instead
expose the ppa format geometry and support the generic addressing mode.

Signed-off-by: Matias Bjørling <m@bjorling.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/null_blk.c