summaryrefslogtreecommitdiffstats
path: root/tools/iio/lsiio.c
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2018-10-12 19:08:40 +0900
committerJens Axboe <axboe@kernel.dk>2018-10-25 11:17:39 -0600
commit7f9d35d24c56576a8c18a8b6f74711c7f3c9c6c0 (patch)
tree1f5a6cf5938c7dfe6acb856256d07963137c3e3b /tools/iio/lsiio.c
parentcdffab7a86b05b207907c391c093023daed5d4a4 (diff)
downloadlinux-7f9d35d24c56576a8c18a8b6f74711c7f3c9c6c0.tar.bz2
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 <hch@lst.de> Reviewed-by: Hannes Reinecke <hare@suse.com> Acked-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/iio/lsiio.c')
0 files changed, 0 insertions, 0 deletions