aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorAndrĂ© Almeida <[email protected]>2019-09-16 11:07:57 -0300
committerJens Axboe <[email protected]>2019-09-16 08:38:26 -0600
commit4467453502f1a2b177c43867119e54671d78b6de (patch)
tree82acaf7b6544f83e79410edba6ebd6fe7577b76f /scripts/gdb/linux/lists.py
parent9a91b05bba58e5bd83034e69407d11641e8064e9 (diff)
null_blk: do not fail the module load with zero devices
The module load should fail only if there is something wrong with the configuration or if an error prevents it to work properly. The module should be able to be loaded with (nr_device == 0), since it will not trigger errors or be in malfunction state. Preventing loading with zero devices also breaks applications that configures this module using configfs API. Remove the nr_device check to fix this. Fixes: f7c4ce890dd2 ("null_blk: validate the number of devices") Reviewed-by: Chaitanya Kulkarni <[email protected]> Signed-off-by: AndrĂ© Almeida <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions