提交 937c1e9e 编写于 作者: D Daniel P. Berrange

Close directory handle when done

上级 5acdb576
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>
Prefer xenstore driver for listDomains, since xen HV reports ghost ids
......
......@@ -395,7 +395,7 @@ xenInotifyOpen(virConnectPtr conn ATTRIBUTE_UNUSED,
return -1;
}
}
closedir(dh);
}
if ((priv->inotifyFD = inotify_init()) < 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册