aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/media/uapi/mediactl/request-func-ioctl.rst
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2018-12-16 04:49:52 +0300
committerJens Axboe <axboe@kernel.dk>2018-12-16 19:52:02 -0700
commit98256376f81ab7afd8dd233b99c78356159c21d5 (patch)
tree7da11e56231c232efb17119ffa284a1769b46fca /Documentation/media/uapi/mediactl/request-func-ioctl.rst
parentblock: Fix null_blk_zoned creation failure with small number of zones (diff)
downloadlinux-dev-98256376f81ab7afd8dd233b99c78356159c21d5.tar.xz
linux-dev-98256376f81ab7afd8dd233b99c78356159c21d5.zip
uapi: linux/blkzoned.h: fix BLKGETZONESZ and BLKGETNRZONES definitions
According to the documentation in include/uapi/asm-generic/ioctl.h, _IOW means userspace is writing and kernel is reading, and _IOR means userspace is reading and kernel is writing. In case of these two ioctls, kernel is writing and userspace is reading, so they have to be _IOR instead of _IOW. Fixes: 72cd87576d1d8 ("block: Introduce BLKGETZONESZ ioctl") Fixes: 65e4e3eee83d7 ("block: Introduce BLKGETNRZONES ioctl") Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'Documentation/media/uapi/mediactl/request-func-ioctl.rst')
0 files changed, 0 insertions, 0 deletions