Skip to content

Commit 745815f

Browse files
damien-lemoalaxboe
authored andcommitted
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 65e4e3e ("block: Introduce BLKGETNRZONES ioctl"). Add its description here. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent c83f536 commit 745815f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎include/uapi/linux/blkzoned.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ struct blk_zone_range {
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)

0 commit comments

Comments
 (0)