[PATCH v2 01/10] network: Don't unlock non-locked network driver

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

 



In dd7bfb2cdc5d I've removed locking of the network driver upon
it's allocation. However, I forgot to remove one location of the
driver unlock.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 src/network/bridge_driver.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index 9d94d65b4..073f5019a 100644
--- a/src/network/bridge_driver.c
+++ b/src/network/bridge_driver.c
@@ -718,8 +718,6 @@ networkStateInitialize(bool privileged,
     return ret;
 
  error:
-    if (network_driver)
-        networkDriverUnlock(network_driver);
     networkStateCleanup();
     goto cleanup;
 }
-- 
2.11.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux