]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd6d552d210599642d54ad1db1b48f6762b93b58b
tree9d01fffe8423ffdfe9225bbab694473fb2fa662c
parent7fd0406c658797b0393b7868ae331a5fe1ab6155
null_blk: use device addressing mode

The linear addressing mode was removed in 9516fa2. 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