path: root/drivers/scsi/scsi_lib.c
diff options
authorDamien Le Moal <damien.lemoal@wdc.com>2017-10-11 05:54:22 +0900
committerMartin K. Petersen <martin.petersen@oracle.com>2017-10-16 23:54:32 -0400
commite98f42bcad202a7e89be37be556383b5de0a65d5 (patch)
tree2926505d1ba75c60e99636150244fe2d8912f175 /drivers/scsi/scsi_lib.c
parentaa8a84566282ac47bd861c3cc2538e1014228345 (diff)
scsi: sd_zbc: Fix comments and indentation
Fix comments style (use kernel-doc style) and content to clarify some functions. Also fix some functions signature indentation and remove a useless blank line in sd_zbc_read_zones(). No functional change is introduced by this patch. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index 9cf6a80fe297..c72b97a74906 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -1752,7 +1752,10 @@ static void scsi_done(struct scsi_cmnd *cmd)
* Returns: Nothing
- * Lock status: IO request lock assumed to be held when called.
+ * Lock status: request queue lock assumed to be held when called.
+ *
+ * Note: See sd_zbc.c sd_zbc_write_lock_zone() for write order
+ * protection for ZBC disks.
static void scsi_request_fn(struct request_queue *q)

Privacy Policy