Skip to contentSkip to conversation

uapi: fix ioctl documentation

PATCH Applied Damien Le Moal 2 participants 4 messages Jan 24, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uapi: fix ioctl documentation

The description of the BLKGETNRZONES zoned block device ioctl was not added as a comment together with this ioctl definition in commit 65e4e3eee83d7 ("block: Introduce BLKGETNRZONES ioctl"). Add its description here.

---
 include/uapi/linux/blkzoned.h | 1 +
 1 file changed, 1 insertion(+)
include/uapi/linux/blkzoned.h +1 -0
index 6fa38d001d84..498eec813494 100644
@@ -138,6 +138,7 @@ struct blk_zone_range {
  * @BLKRESETZONE: Reset the write pointer of the zones in the specified
  *                sector range. The sector range must be zone aligned.
  * @BLKGETZONESZ: Get the device zone size in number of 512 B sectors.
+ * @BLKGETNRZONES: Get the total number of zones of the device.
  */
 #define BLKREPORTZONE	_IOWR(0x12, 130, struct blk_zone_report)
 #define BLKRESETZONE	_IOW(0x12, 131, struct blk_zone_range)
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 block: Fix comment typo

Fix typo in REQ_OP_ZONE_RESET description.

---
 include/linux/blk_types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/blk_types.h +1 -1
index 5c7e7f859a24..d66bf5f32610 100644
@@ -287,7 +287,7 @@ enum req_opf {
 	REQ_OP_DISCARD		= 3,
 	/* securely erase sectors */
 	REQ_OP_SECURE_ERASE	= 5,
-	/* seset a zone write pointer */
+	/* reset a zone write pointer */
 	REQ_OP_ZONE_RESET	= 6,
 	/* write the same sector many times */
 	REQ_OP_WRITE_SAME	= 7,
Signature · 1 line
2.20.1
maintainer Applied
#2 lore raw

Re: [PATCH] block: Fix comment typo

Quoted 1 line · Damien Le Moal

Fix typo in REQ_OP_ZONE_RESET description.

Applied, thanks.

Signature · 1 line
Jens Axboe
maintainer Applied
#3 lore raw
In reply to Damien Le Moal
Quoted 4 lines · Damien Le Moal

The description of the BLKGETNRZONES zoned block device ioctl was not added as a comment together with this ioctl definition in commit 65e4e3eee83d7 ("block: Introduce BLKGETNRZONES ioctl"). Add its description here.

Applied, thanks.

Signature · 1 line
Jens Axboe