History

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

Linus Torvalds committed 7 years ago

Commit 62393db2 parents e738441 98256371 file · +2 −2Browse files

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

Unified · Split

include/uapi/linux/blkzoned.h+2−2
@@ -141,7 +141,7 @@ struct blk_zone_range { · 140 unmodified lines
141141 */
142142 #define BLKREPORTZONE _IOWR(0x12, 130, struct blk_zone_report)
143143 #define BLKRESETZONE _IOW(0x12, 131, struct blk_zone_range)
144−#define BLKGETZONESZ _IOW(0x12, 132, __u32)
145−#define BLKGETNRZONES _IOW(0x12, 133, __u32)
144+#define BLKGETZONESZ _IOR(0x12, 132, __u32)
145+#define BLKGETNRZONES _IOR(0x12, 133, __u32)
146146
147147 #endif /* _UAPI_BLKZONED_H */