summaryrefslogtreecommitdiff
path: root/include
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
parente738441e803db6b61d5119df8f758396914fafd8 (diff)
parent98256376f81ab7afd8dd233b99c78356159c21d5 (diff)
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')
-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 */