summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMatias Bjorling <m@bjorling.me>2014-11-27 00:45:48 +0300
committerJens Axboe <axboe@fb.com>2014-11-27 00:45:48 +0300
commit709c8667ada1fa26ac941bb875892afc0046b3e2 (patch)
tree5d8c74e5ac0bc869bec66503dde23e7fae70a6ab /security
parentfa573f72790c2c2b9bfd758c5d33959af4a39915 (diff)
downloadlinux-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 'security')
0 files changed, 0 insertions, 0 deletions