On 7/18/23 21:55, Jonathon Jongsma wrote:
> Since commit 44a0f2f0, we now query mdevctl for transient (active) mdevs
> in order to gather attributes for the mdev. Unfortunately, this commit
> introduced a regression because nodeDeviceUpdateMediatedDevice() assumed
> that all mdevs returned from mdevctl were actually persistent mdevs but
> we were using it to update transient mdevs. Refactor the function so
> that we can use it to update both persistent and transient mdevs.
> 
> Signed-off-by: Jonathon Jongsma <[email protected]>
> ---
>  src/node_device/node_device_driver.c | 21 +++++++++++----------
>  1 file changed, 11 insertions(+), 10 deletions(-)

Reviewed-by: Michal Privoznik <[email protected]>

Michal

Reply via email to