Skip to content

Commit e0933b5

Browse files
bvanasscheaxboe
authored andcommitted
block: Fix a source code comment in include/uapi/linux/blkzoned.h
Fix the symbolic names for zone conditions in the blkzoned.h header file. Cc: Hannes Reinecke <hare@suse.de> Cc: Damien Le Moal <dlemoal@kernel.org> Fixes: 6a0cb1b ("block: Implement support for zoned block devices") Signed-off-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Link: https://lore.kernel.org/r/20230706201422.3987341-1-bvanassche@acm.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 856d8e3 commit e0933b5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

include/uapi/linux/blkzoned.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ enum blk_zone_type {
5151
*
5252
* The Zone Condition state machine in the ZBC/ZAC standards maps the above
5353
* deinitions as:
54-
* - ZC1: Empty | BLK_ZONE_EMPTY
54+
* - ZC1: Empty | BLK_ZONE_COND_EMPTY
5555
* - ZC2: Implicit Open | BLK_ZONE_COND_IMP_OPEN
5656
* - ZC3: Explicit Open | BLK_ZONE_COND_EXP_OPEN
57-
* - ZC4: Closed | BLK_ZONE_CLOSED
58-
* - ZC5: Full | BLK_ZONE_FULL
59-
* - ZC6: Read Only | BLK_ZONE_READONLY
60-
* - ZC7: Offline | BLK_ZONE_OFFLINE
57+
* - ZC4: Closed | BLK_ZONE_COND_CLOSED
58+
* - ZC5: Full | BLK_ZONE_COND_FULL
59+
* - ZC6: Read Only | BLK_ZONE_COND_READONLY
60+
* - ZC7: Offline | BLK_ZONE_COND_OFFLINE
6161
*
6262
* Conditions 0x5 to 0xC are reserved by the current ZBC/ZAC spec and should
6363
* be considered invalid.

0 commit comments

Comments
 (0)