Make IOCATARAIDSTATUS IOWR so status can be gotten correctly

This commit is contained in:
Søren Schmidt 2005-08-05 13:05:45 +00:00
parent a3ae5e4ede
commit 06de1cd371

View File

@ -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)