]> err.no Git - linux-2.6/blobdiff - include/scsi/libiscsi.h
x86: fix ACPI compile for LOCAL_APIC=n
[linux-2.6] / include / scsi / libiscsi.h
index 007d442412e2224a987bb36145e6f4f771a4760d..b4b31132618bbeae62699d998beb78bb99b98b23 100644 (file)
@@ -205,6 +205,13 @@ struct iscsi_queue {
 };
 
 struct iscsi_session {
+       /*
+        * Syncs up the scsi eh thread with the iscsi eh thread when sending
+        * task management functions. This must be taken before the session
+        * and recv lock.
+        */
+       struct mutex            eh_mutex;
+
        /* iSCSI session-wide sequencing */
        uint32_t                cmdsn;
        uint32_t                exp_cmdsn;