tmp_suning_uos_patched/include/target
Bart Van Assche e936a38ac9 scsi: target: Remove se_dev_entry.ua_count
se_dev_entry.ua_count is only used to check whether or not
se_dev_entry.ua_list is empty. Use list_empty_careful() instead.  Checking
whether or not ua_list is empty without holding the lock that protects that
list is fine because the code that dequeues from that list will check again
whether or not that list is empty.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Mike Christie <mchristi@redhat.com>
Cc: Mike Christie <mchristi@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-07-02 16:44:32 -04:00
..
iscsi scsi: target: Convert target drivers to use sbitmap 2018-06-19 22:02:25 -04:00
target_core_backend.h scsi: target: remove target_find_device 2018-06-26 12:27:06 -04:00
target_core_base.h scsi: target: Remove se_dev_entry.ua_count 2018-07-02 16:44:32 -04:00
target_core_fabric.h scsi: target: Remove second argument from fabric_make_tpg() 2018-07-02 16:44:32 -04:00