]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/scsi/scsi_cmnd.h
scsi: core: Avoid that ATA error handling can trigger a kernel hang or oops
[mirror_ubuntu-bionic-kernel.git] / include / scsi / scsi_cmnd.h
index 7fb57e905526ca1ecabe1f51b0ba034eb04a41ea..7bc752fc98de777d65b3c69a78d84944703e4c26 100644 (file)
@@ -69,6 +69,9 @@ struct scsi_cmnd {
        struct list_head list;  /* scsi_cmnd participates in queue lists */
        struct list_head eh_entry; /* entry for the host eh_cmd_q */
        struct delayed_work abort_work;
+
+       struct rcu_head rcu;
+
        int eh_eflags;          /* Used by error handlr */
 
        /*