History

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.

Damien Le Moal committed 7 years ago

Commit 745815f1 parent c83f5361 file · +1 −0Browse files

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

Unified · Split

include/uapi/linux/blkzoned.h+1−0
@@ -138,6 +138,7 @@ struct blk_zone_range { · 137 unmodified lines
138138 * @BLKRESETZONE: Reset the write pointer of the zones in the specified
139139 * sector range. The sector range must be zone aligned.
140140 * @BLKGETZONESZ: Get the device zone size in number of 512 B sectors.
141+ * @BLKGETNRZONES: Get the total number of zones of the device.
141142 */
142143 #define BLKREPORTZONE _IOWR(0x12, 130, struct blk_zone_report)
143144 #define BLKRESETZONE _IOW(0x12, 131, struct blk_zone_range)