diff options
author | Christoph Hellwig <[email protected]> | 2021-01-09 11:42:49 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2021-01-24 18:15:57 -0700 |
commit | 1e0dcca9e1aa3caa1a0dc4300db1a091078fe40b (patch) | |
tree | 41a7cef2f3c4f1bdca2b9d78092b9194e6d1b4eb /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 6ee1d745b7c9fd573fba142a2efdad76a9f1cb04 (diff) |
dm: use bdev_read_only to check if a device is read-only
dm-thin and dm-cache also work on partitions, so use the proper
interface to check if the device is read-only.
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