diff options
author | Christoph Hellwig <hch@lst.de> | 2024-11-19 17:09:23 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-11-19 19:07:13 -0700 |
commit | 766a71ef65bb217ed8bf1c068ac14c7d3c15d487 (patch) | |
tree | 92c52550bbecf0e40d0c3ca987a507f032789d55 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e888810bc4f471f85989a0991aff28d2ac9f783b (diff) | |
download | linux-stable-766a71ef65bb217ed8bf1c068ac14c7d3c15d487.tar.gz linux-stable-766a71ef65bb217ed8bf1c068ac14c7d3c15d487.tar.bz2 linux-stable-766a71ef65bb217ed8bf1c068ac14c7d3c15d487.zip |
block: return bool from get_disk_ro and bdev_read_only
get_disk_ro and bdev_read_only return boolean conditions,
don't masquerade them as int.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20241119160932.1327864-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions