diff options
author | Damien Le Moal <[email protected]> | 2018-10-12 19:08:40 +0900 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2018-10-25 11:17:39 -0600 |
commit | 7f9d35d24c56576a8c18a8b6f74711c7f3c9c6c0 (patch) | |
tree | 1f5a6cf5938c7dfe6acb856256d07963137c3e3b /scripts/bpf_helpers_doc.py | |
parent | cdffab7a86b05b207907c391c093023daed5d4a4 (diff) |
scsi: sd_zbc: Rearrange code
Move the urswrz check out of sd_zbc_read_zones() and into
sd_zbc_read_zoned_characteristics() where that value is obtained (read
from the disk zoned characteristics VPD page). Since this function now
does more than simply reading the VPD page, rename it to
sd_zbc_check_zoned_characteristics().
Also fix the error message displayed when reading that VPD page fails.
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Acked-by: Martin K. Petersen <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions