[S390] dasd: fix online/offline race
[pandora-kernel.git] / drivers / s390 / block / dasd_int.h
index e4c2143..ed73ce5 100644 (file)
@@ -368,6 +368,7 @@ struct dasd_device {
 
        /* Device state and target state. */
        int state, target;
+       struct mutex state_mutex;
        int stopped;            /* device (ccw_device_start) was stopped */
 
        /* reference count. */