Re: [PATCH tip/core/rcu 4/9] drivers/scsi: Replace rcu_swap_protected() with rcu_replace()

From: Martin K. Petersen
Date: Thu Oct 03 2019 - 22:11:44 EST



Paul,

No objections from me.

> + vpd_pg80 = rcu_replace(sdev->vpd_pg80, vpd_pg80,
> + lockdep_is_held(&sdev->inquiry_mutex));
> + vpd_pg83 = rcu_replace(sdev->vpd_pg83, vpd_pg83,
> + lockdep_is_held(&sdev->inquiry_mutex));

Just a heads-up that we have added a couple of additional VPD pages so
my 5.5 tree will need additional calls to be updated to rcu_replace().

--
Martin K. Petersen Oracle Linux Engineering