storage: Remove rwlocks during virStoragePoolObjListForEach
storage: Remove rwlocks during virStoragePoolObjListForEach

Remove the locks since they are unnecessary and would cause
a hang for a driver reload/restart when a transient pool was
previously active as a result of the call:

virStoragePoolUpdateInactive:
...
    if (!virStoragePoolObjGetConfigFile(obj)) {
        virStoragePoolObjRemove(driver->pools, obj);
...

stack trace:

Thread 17 (Thread 0x7fffcc574700 (LWP 12465)):
...pthread_rwlock_wrlock
...virRWLockWrite
...virObjectRWLockWrite
...virStoragePoolObjRemove
...virStoragePoolUpdateInactive
...storagePoolUpdateStateCallback
...virStoragePoolObjListForEachCb
...virHashForEach
...virStoragePoolObjListForEach
...storagePoolUpdateAllState
...storageStateInitialize
...virStateInitialize
...daemonRunStateInit
...virThreadHelper
...start_thread
...clone

Introduced by commit id 4b2e0ed6e3.

Signed-off-by: John Ferlan <87558058f6f829e5ec976c8ef960720af4ff9c7d@redhat.com>
ACKed-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>

fabianfreyer/libvirt,andreabolognani/libvirt,olafhering/libvirt,olafhering/libvirt,fabianfreyer/libvirt,zippy2/libvirt,nertpinx/libvirt,jfehlig/libvirt,zippy2/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,andreabolognani/libvirt,jardasgit/libvirt,jfehlig/libvirt,jardasgit/libvirt,libvirt/libvirt,andreabolognani/libvirt,zippy2/libvirt,eskultety/libvirt,andreabolognani/libvirt,nertpinx/libvirt,nertpinx/libvirt,libvirt/libvirt,jardasgit/libvirt,libvirt/libvirt,olafhering/libvirt,crobinso/libvirt,nertpinx/libvirt,crobinso/libvirt,andreabolognani/libvirt,nertpinx/libvirt,jfehlig/libvirt,eskultety/libvirt,jardasgit/libvirt,olafhering/libvirt,crobinso/libvirt,crobinso/libvirt,libvirt/libvirt,jfehlig/libvirt,eskultety/libvirt,zippy2/libvirt,fabianfreyer/libvirt,eskultety/libvirt,fabianfreyer/libvirt,eskultety/libvirt