scsi: megaraid_sas: Remove IO buffer hole detection logic
[linux-2.6-microblaze.git] / drivers / scsi / sr.h
index a2bb7b8..339c624 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <linux/genhd.h>
 #include <linux/kref.h>
+#include <linux/mutex.h>
 
 #define MAX_RETRIES    3
 #define SR_TIMEOUT     (30 * HZ)
@@ -51,6 +52,7 @@ typedef struct scsi_cd {
        bool ignore_get_event:1;        /* GET_EVENT is unreliable, use TUR */
 
        struct cdrom_device_info cdi;
+       struct mutex lock;
        /* We hold gendisk and scsi_device references on probe and use
         * the refs on this kref to decide when to release them */
        struct kref kref;