[PATCH] Use znet_cio_free to clear network devices from cio_ignore.

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

 



This line needs to use the external tool to free network devices.

Related: rhbz#633469
---
 loader/linuxrc.s390 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/loader/linuxrc.s390 b/loader/linuxrc.s390
index 610f3ca..0df6626 100644
--- a/loader/linuxrc.s390
+++ b/loader/linuxrc.s390
@@ -1138,7 +1138,7 @@ function semantic_check_subchannels() {
         if [ ! -d "$dev_p" -a "$cio_wc_bytes" != "0" ]; then
             # - try to free from /proc/cio_ignore if they don't exist
             echo $"Device $devbusid not present, trying to clear from blacklist and resense..."
-            if sysecho /proc/cio_ignore "free $devbusid"; then
+            if ! znet_cio_free -d $devbusid; then
                 # /proc/cio_ignore won't block on freeing devices
                 # until resensing has been completed, so wait until
                 # the udev event queue depletes (without udevadm settle we
-- 
1.7.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux