mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Close directory handle when done
This commit is contained in:
parent
5acdb5761d
commit
937c1e9e92
@ -1,3 +1,8 @@
|
|||||||
|
Sun Nov 30 18:36:33 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
* src/xen_inotify.c: Close directory handle once done
|
||||||
|
processing files
|
||||||
|
|
||||||
Fri Nov 28 16:16:54 CET 2008 Guido Günther <agx@sigxcpu.org>
|
Fri Nov 28 16:16:54 CET 2008 Guido Günther <agx@sigxcpu.org>
|
||||||
|
|
||||||
Prefer xenstore driver for listDomains, since xen HV reports ghost ids
|
Prefer xenstore driver for listDomains, since xen HV reports ghost ids
|
||||||
|
@ -395,7 +395,7 @@ xenInotifyOpen(virConnectPtr conn ATTRIBUTE_UNUSED,
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
closedir(dh);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((priv->inotifyFD = inotify_init()) < 0) {
|
if ((priv->inotifyFD = inotify_init()) < 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user