diff options
author | John Pittman <jpittman@redhat.com> | 2019-01-04 12:06:37 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-01-06 10:58:27 -0700 |
commit | 373282e7ab6840cd583a223fa90628f2d8293c26 (patch) | |
tree | 390a7a5aae203ed6475f3fc51f21700d7341a148 /block/blk-core.c | |
parent | bb351abaf5cd4f9237e1b3094d9cc04853de6d95 (diff) | |
download | linux-next-373282e7ab6840cd583a223fa90628f2d8293c26.tar.gz |
null_blk: add zoned config support information
If the kernel is built without CONFIG_BLK_DEV_ZONED, a modprobe
of the null_blk driver with zoned=1 fails with 'Invalid argument'.
This can be confusing to users, prompting a search as to why the
parameter is invalid. To assist in that search, add a bit more
information to the failure, additionally adding to the documentation
that CONFIG_BLK_DEV_ZONED is needed for zoned=1.
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: John Pittman <jpittman@redhat.com>
Added null_blk prefix to error message.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
0 files changed, 0 insertions, 0 deletions