scsi: target: core: De-RCU of se_lun and se_lun acl
se_lun and se_lun_acl are immutable pointers of struct se_dev_entry. Remove RCU usage for access to those pointers. Link: https://lore.kernel.org/r/20220727214125.19647-3-d.bogdanov@yadro.com Reviewed-by: Mike Christie <michael.christie@oracle.com> Signed-off-by: Dmitry Bogdanov <d.bogdanov@yadro.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
committed by
Martin K. Petersen
parent
dd0a66ada0
commit
ef4f7e4bf1
@@ -665,9 +665,9 @@ struct se_dev_entry {
|
||||
/* Used for PR SPEC_I_PT=1 and REGISTER_AND_MOVE */
|
||||
struct kref pr_kref;
|
||||
struct completion pr_comp;
|
||||
struct se_lun_acl __rcu *se_lun_acl;
|
||||
struct se_lun_acl *se_lun_acl;
|
||||
spinlock_t ua_lock;
|
||||
struct se_lun __rcu *se_lun;
|
||||
struct se_lun *se_lun;
|
||||
#define DEF_PR_REG_ACTIVE 1
|
||||
unsigned long deve_flags;
|
||||
struct list_head alua_port_list;
|
||||
|
||||
Reference in New Issue
Block a user