diff options
author | Matias Bjorling <m@bjorling.me> | 2014-11-27 00:45:48 +0300 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-11-27 00:45:48 +0300 |
commit | 709c8667ada1fa26ac941bb875892afc0046b3e2 (patch) | |
tree | 5d8c74e5ac0bc869bec66503dde23e7fae70a6ab /net/rds | |
parent | fa573f72790c2c2b9bfd758c5d33959af4a39915 (diff) | |
download | linux-709c8667ada1fa26ac941bb875892afc0046b3e2.tar.xz |
null_blk: boundary check queue_mode and irqmode
When either queue_mode or irq_mode parameter is set outside its
boundaries, the driver will not complete requests. This stalls driver
initialization when partitions are probed. Fix by setting out of bound
values to the parameters default.
Signed-off-by: Matias Bjørling <m@bjorling.me>
Updated by me to have the parse+check in just one function.
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions