aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/blkzoned.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-12-18 15:47:40 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2018-12-18 15:47:40 -0800
commit62393dbcbe0f3001691e4bd479a25beb5941f2ed (patch)
tree44f7828d2bdebc5595aeace983d49d597a96420b /include/uapi/linux/blkzoned.h
parentMerge tag 'pci-v4.20-fixes-4' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci (diff)
parentuapi: linux/blkzoned.h: fix BLKGETZONESZ and BLKGETNRZONES definitions (diff)
downloadlinux-dev-62393dbcbe0f3001691e4bd479a25beb5941f2ed.tar.xz
linux-dev-62393dbcbe0f3001691e4bd479a25beb5941f2ed.zip
Merge tag 'for-linus-20181218' of git://git.kernel.dk/linux-block
Pull block fix from Jens Axboe: "Correct an ioctl direction for the zoned ioctls" * tag 'for-linus-20181218' of git://git.kernel.dk/linux-block: uapi: linux/blkzoned.h: fix BLKGETZONESZ and BLKGETNRZONES definitions
Diffstat (limited to 'include/uapi/linux/blkzoned.h')
-rw-r--r--include/uapi/linux/blkzoned.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/uapi/linux/blkzoned.h b/include/uapi/linux/blkzoned.h
index 8f08ff9bdea0..6fa38d001d84 100644
--- a/include/uapi/linux/blkzoned.h
+++ b/include/uapi/linux/blkzoned.h
@@ -141,7 +141,7 @@ struct blk_zone_range {
*/
#define BLKREPORTZONE _IOWR(0x12, 130, struct blk_zone_report)
#define BLKRESETZONE _IOW(0x12, 131, struct blk_zone_range)
-#define BLKGETZONESZ _IOW(0x12, 132, __u32)
-#define BLKGETNRZONES _IOW(0x12, 133, __u32)
+#define BLKGETZONESZ _IOR(0x12, 132, __u32)
+#define BLKGETNRZONES _IOR(0x12, 133, __u32)
#endif /* _UAPI_BLKZONED_H */