Commit e0933b52 authored by Bart Van Assche's avatar Bart Van Assche Committed by Jens Axboe

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: 6a0cb1bc ("block: Implement support for zoned block devices")
Signed-off-by: default avatarBart Van Assche <bvanassche@acm.org>
Reviewed-by: default avatarDamien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20230706201422.3987341-1-bvanassche@acm.orgSigned-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 856d8e3c
...@@ -51,13 +51,13 @@ enum blk_zone_type { ...@@ -51,13 +51,13 @@ enum blk_zone_type {
* *
* The Zone Condition state machine in the ZBC/ZAC standards maps the above * The Zone Condition state machine in the ZBC/ZAC standards maps the above
* deinitions as: * deinitions as:
* - ZC1: Empty | BLK_ZONE_EMPTY * - ZC1: Empty | BLK_ZONE_COND_EMPTY
* - ZC2: Implicit Open | BLK_ZONE_COND_IMP_OPEN * - ZC2: Implicit Open | BLK_ZONE_COND_IMP_OPEN
* - ZC3: Explicit Open | BLK_ZONE_COND_EXP_OPEN * - ZC3: Explicit Open | BLK_ZONE_COND_EXP_OPEN
* - ZC4: Closed | BLK_ZONE_CLOSED * - ZC4: Closed | BLK_ZONE_COND_CLOSED
* - ZC5: Full | BLK_ZONE_FULL * - ZC5: Full | BLK_ZONE_COND_FULL
* - ZC6: Read Only | BLK_ZONE_READONLY * - ZC6: Read Only | BLK_ZONE_COND_READONLY
* - ZC7: Offline | BLK_ZONE_OFFLINE * - ZC7: Offline | BLK_ZONE_COND_OFFLINE
* *
* Conditions 0x5 to 0xC are reserved by the current ZBC/ZAC spec and should * Conditions 0x5 to 0xC are reserved by the current ZBC/ZAC spec and should
* be considered invalid. * be considered invalid.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment