Re: [PATCH 2/2] generic/019: fix incorrect unset statements

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

 



On Tue, Apr 19, 2022 at 10:32:06AM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@xxxxxxxxxx>
> 
> Fix incorrect usage of unset -- one passes the name of the variable, not
> the *value* contained within it.
> 
> Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx>
> ---

Good to me,
Reviewed-by: Zorro Lang <zlang@xxxxxxxxxx>

>  tests/generic/019 |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> 
> diff --git a/tests/generic/019 b/tests/generic/019
> index 854ba57d..45c91624 100755
> --- a/tests/generic/019
> +++ b/tests/generic/019
> @@ -140,8 +140,8 @@ _workout()
>  	kill $fs_pid &> /dev/null
>  	wait $fs_pid
>  	wait $fio_pid
> -	unset $fs_pid
> -	unset $fio_pid
> +	unset fs_pid
> +	unset fio_pid
>  
>  	# We expect that broken FS still can be umounted
>  	run_check _scratch_unmount
> 




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux