scsi: sd_zbc: Rename sd_zbc_check_zones()
authorDamien Le Moal <damien.lemoal@wdc.com>
Fri, 20 Dec 2019 07:58:23 +0000 (16:58 +0900)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 3 Jan 2020 02:53:31 +0000 (21:53 -0500)
commitdbfc5626d9303ef611e70a531379e68754ab0feb
treef083c56d5e52c20e15ec17dfde090f0559f7891e
parent19aaa4072327f467ab82db7d1f0055675e2a4cd4
scsi: sd_zbc: Rename sd_zbc_check_zones()

Now that the block layer implement zone checks on revalidate,
sd_zbc_check_zones() is reduced getting the zone size and verifying the
device capacity for device with RC_BASIS=0. Be clear about this by renaming
sd_zbc_check_zones() to sd_zbc_check_capacity() and updating the function
description and comments.

Link: https://lore.kernel.org/r/20191220075823.400072-3-damien.lemoal@wdc.com
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sd_zbc.c