> @@ -683,7 +679,7 @@ void core_tpg_remove_lun(
>               dev->export_count--;
>               spin_unlock(&dev->se_port_lock);
>  
> -             lun->lun_se_dev = NULL;
> +             rcu_assign_pointer(lun->lun_se_dev, NULL);
>       }

What guarantees that the se_device stays around for at least a RCU
grace period after this assignment?
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to