History

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.

Bart Van Assche committed 3 years ago

Commit e0933b51 parent 856d8e31 file · +5 −5Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/blkzoned.h+5−5
@@ -51,13 +51,13 @@ enum blk_zone_type { · 50 unmodified lines
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.