Re: [PATCH blktests v1 11/18] nvme/rc: remove correct port from target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mar 21, 2024 / 10:47, Daniel Wagner wrote:
> Remove the port from the subsystem the test wants to remove.
> 
> Fixes: a12281b8320f ("nvme: introduce nvmet_target_{setup/cleanup} common code")

I'm not sure if this Fixes tag is correct. IIUC, the change in this patch is a
missed hank in the 9th patch.

> Signed-off-by: Daniel Wagner <dwagner@xxxxxxx>
> ---
>  tests/nvme/rc | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/nvme/rc b/tests/nvme/rc
> index ba83f32febb8..d74a5418557d 100644
> --- a/tests/nvme/rc
> +++ b/tests/nvme/rc
> @@ -869,7 +869,7 @@ _nvmet_target_cleanup() {
>  		esac
>  	done
>  
> -	_get_nvmet_ports "${def_subsysnqn}" ports
> +	_get_nvmet_ports "${subsysnqn}" ports
>  
>  	for port in "${ports[@]}"; do
>  		_remove_nvmet_subsystem_from_port "${port}" "${subsysnqn}"
> -- 
> 2.44.0
> 




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux