nvmet-fc: add a missing __rcu annotation to nvmet_fc_tgt_assoc.queues
Subsystems (3)
Christoph Hellwig
maintainerPATCH 1/1 nvmet-fc: add a missing __rcu annotation to nvmet_fc_tgt_assoc.queues
Make sparse happy after the recent conversion to RCU lookups.
Fixes 4e2f02bf77da ("nvmet-fc: use RCU proctection for assoc_list")
Signed-off-by Christoph Hellwig <[email protected]>
--- drivers/nvme/target/fc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/nvme/target/fc.c +1 -1
@@ -165,7 +165,7 @@ struct nvmet_fc_tgt_assoc {struct nvmet_fc_hostport *hostport;struct nvmet_fc_ls_iod *rcv_disconn;struct list_head a_list; -struct nvmet_fc_tgt_queue *queues[NVMET_NR_QUEUES +1 ]; +struct nvmet_fc_tgt_queue __rcu *queues[NVMET_NR_QUEUES +1 ];struct kref ref;struct work_struct del_work;struct rcu_head rcu;
Signature · 7 lines
2.29.2 _______________________________________________ Linux-nvme mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-nvme
Quoted 4 lines · Christoph Hellwig
Make sparse happy after the recent conversion to RCU lookups.
Fixes 4e2f02bf77da ("nvmet-fc: use RCU proctection for assoc_list")Signed-off-by Christoph Hellwig <[email protected]>
Looks good.
Reviewed-by Chaitanya Kulkarni <[email protected]>
_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme
Quoted 6 lines · Christoph Hellwig
Make sparse happy after the recent conversion to RCU lookups.
Fixes 4e2f02bf77da ("nvmet-fc: use RCU proctection for assoc_list")Signed-off-by Christoph Hellwig <[email protected]>---
Reviewed-by James Smart <[email protected]>
Thanks
-- james
Signature · 1 line
This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.
_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme
Reviewed-by Sagi Grimberg <[email protected]>
_______________________________________________
Linux-nvme mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-nvme