- Fixed removing pass-through devices from handlers.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1987 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Mark Buechler
2010-08-25 15:11:42 +00:00
parent 96454526b5
commit 15edb66a7a
-4
View File
@@ -1556,8 +1556,6 @@ sub applyConfigDevices {
if (!defined($$config{'HANDLER'}->{$handler}->{'DEVICE'}->{$device})) {
my $attributes = $SCST->deviceAttributes($device);
next if (defined($$attributes{'scsi_device'}));
if ($deletions) {
closeDevice($handler, $device, $deletions);
} else {
@@ -3147,8 +3145,6 @@ sub closeDevice {
my $attributes = $SCST->deviceAttributes($device);
return if (defined($$attributes{'scsi_device'}));
if (!$force) {
if (keys %{$$attributes{'exported'}}) {
listExported($device, $attributes);