• Linus Torvalds's avatar
    Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending · e477f3e0
    Linus Torvalds authored
    Pull SCSI target fixes from Nicholas Bellinger:
     "Here are current target-pending fixes for v4.0-rc5 code that have made
      their way into the queue over the last weeks.
    
      The fixes this round include:
    
       - Fix long-standing iser-target logout bug related to early
         conn_logout_comp completion, resulting in iscsi_conn use-after-tree
         OOpsen.  (Sagi + nab)
    
       - Fix long-standing tcm_fc bug in ft_invl_hw_context() failure
         handing for DDP hw offload.  (DanC)
    
       - Fix incorrect use of unprotected __transport_register_session() in
         tcm_qla2xxx + other single local se_node_acl fabrics.  (Bart)
    
       - Fix reference leak in target_submit_cmd() -> target_get_sess_cmd()
         for ack_kref=1 failure path.  (Bart)
    
       - Fix pSCSI backend ->get_device_type() statistics OOPs with
         un-configured device.  (Olaf + nab)
    
       - Fix virtual LUN=0 target_configure_device failure OOPs at modprobe
         time.  (Claudio + nab)
    
       - Fix FUA write false positive failure regression in v4.0-rc1 code.
         (Christophe Vu-Brugier + HCH)"
    
    * git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending:
      target: do not reject FUA CDBs when write cache is enabled but emulate_write_cache is 0
      target: Fix virtual LUN=0 target_configure_device failure OOPs
      target/pscsi: Fix NULL pointer dereference in get_device_type
      tcm_fc: missing curly braces in ft_invl_hw_context()
      target: Fix reference leak in target_get_sess_cmd() error path
      loop/usb/vhost-scsi/xen-scsiback: Fix use of __transport_register_session
      tcm_qla2xxx: Fix incorrect use of __transport_register_session
      iscsi-target: Avoid early conn_logout_comp for iser connections
      Revert "iscsi-target: Avoid IN_LOGOUT failure case for iser-target"
      target: Disallow changing of WRITE cache/FUA attrs after export
    e477f3e0
xen-scsiback.c 53.6 KB