diff options
| author | Damien Le Moal <dlemoal@kernel.org> | 2026-06-20 21:22:43 +0900 |
|---|---|---|
| committer | Damien Le Moal <dlemoal@kernel.org> | 2026-07-06 10:19:16 +0900 |
| commit | 13d5478d9bf19778a1bf9816a82b2cf8f9e8f49e (patch) | |
| tree | 39be4c7306a7b44426504d505d9e5014cd10a015 /tools/perf/scripts/python | |
| parent | 8cdeaa50eae8dad34885515f62559ee83e7e8dda (diff) | |
ata: libata: rename ata_dev_is_zac()
The helper function ata_dev_is_zac() checks if a device is a ZAC class
device (host managed zoned disk) or if it is a host aware zoned disk, that
is, a regular ATA disk that supports the zoned capabilities. So the name
of this helper function is confusing as it hints at the first case only.
Rename this helper function to ata_dev_is_zoned() to avoid confusions and
better reflect the two cases tested. Use this helper in
ata_scsiop_inq_std(), ata_scsiop_read_cap() and
ata_scsi_report_supported_opcodes() instead of having the same tests open
coded.
While at it, to stay consistent with this renaming, also rename
ata_dev_config_zac() to ata_dev_config_zoned().
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
