mirror of
https://github.com/SCST-project/scst.git
synced 2026-07-20 15:02:18 +00:00
- 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user