From 1594b13993dc9182bf6264f165bc23367b698197 Mon Sep 17 00:00:00 2001 From: Chen Wang Date: Tue, 5 Dec 2017 19:07:06 +0800 Subject: [PATCH] test/vhost: Fix the lvol bdev name The lvol bdev which used to create nested lvol store should be $lb_name. Change-Id: Ic8d68f8d18bcb0c1d4bca0b4612a4a07ed8b974d Signed-off-by: Chen Wang Reviewed-on: https://review.gerrithub.io/390350 Tested-by: SPDK Automated Test System Reviewed-by: Changpeng Liu Reviewed-by: Karol Latecki Reviewed-by: Daniel Verkamp Reviewed-by: Jim Harris --- test/vhost/lvol/lvol_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/vhost/lvol/lvol_test.sh b/test/vhost/lvol/lvol_test.sh index ae5bccf13..4afed337c 100755 --- a/test/vhost/lvol/lvol_test.sh +++ b/test/vhost/lvol/lvol_test.sh @@ -123,8 +123,8 @@ if $nested_lvol; then lb_name=$($rpc_py construct_lvol_bdev -u $lvol_store lbd_nest 16000) lvol_bdevs+=("$lb_name") - echo "INFO: Creating nested lvol store on lvol bdev: $lb_guid" - ls_guid=$($rpc_py construct_lvol_store $lb_guid lvs_n_$i) + echo "INFO: Creating nested lvol store on lvol bdev: $lb_name" + ls_guid=$($rpc_py construct_lvol_store $lb_name lvs_n_$i) nest_lvol_stores+=("$ls_guid") done fi