mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
blkdeactivate: drop unused var
This commit is contained in:
parent
45861557b5
commit
ce1383fe46
@ -221,7 +221,7 @@ deactivate_dm () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
deactivate_lvm () {
|
deactivate_lvm () {
|
||||||
local DM_VG_NAME; local DM_LV_NAME; local DM_LV_LAYER
|
local DM_VG_NAME; local DM_LV_NAME
|
||||||
|
|
||||||
eval "$(eval "$DMSETUP" splitname --nameprefixes --noheadings --rows "$name" LVM "$ERR")"
|
eval "$(eval "$DMSETUP" splitname --nameprefixes --noheadings --rows "$name" LVM "$ERR")"
|
||||||
test -b "$DEV_DIR/$DM_VG_NAME/$DM_LV_NAME" || return 0
|
test -b "$DEV_DIR/$DM_VG_NAME/$DM_LV_NAME" || return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user