diff options
author | Christoph Hellwig <[email protected]> | 2021-01-09 11:42:50 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-01-24 18:15:57 -0700 |
commit | 6f0d9689b670bc9f9640ff87b3f9226b7806dea2 (patch) | |
tree | 56428c55621af77d28f43ad7545416d6b2fb4218 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 1e0dcca9e1aa3caa1a0dc4300db1a091078fe40b (diff) |
block: remove the NULL bdev check in bdev_read_only
Only a single caller can end up in bdev_read_only, so move the check
there.
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Ming Lei <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions