From 06de1cd37115ff02eebac0ca8558e669932315e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Fri, 5 Aug 2005 13:05:45 +0000 Subject: [PATCH] Make IOCATARAIDSTATUS IOWR so status can be gotten correctly --- sys/sys/ata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sys/ata.h b/sys/sys/ata.h index 6ac187b2eea6..3e9d2002123c 100644 --- a/sys/sys/ata.h +++ b/sys/sys/ata.h @@ -400,7 +400,7 @@ struct ata_ioc_raid_config { /* ATA RAID ioctl calls */ #define IOCATARAIDCREATE _IOW('a', 200, struct ata_ioc_raid_config) #define IOCATARAIDDELETE _IOW('a', 201, int) -#define IOCATARAIDSTATUS _IOR('a', 202, struct ata_ioc_raid_config) +#define IOCATARAIDSTATUS _IOWR('a', 202, struct ata_ioc_raid_config) #define IOCATARAIDADDSPARE _IOW('a', 203, struct ata_ioc_raid_config) #define IOCATARAIDREBUILD _IOW('a', 204, int)