[libvirt] [PATCH v2] file: Log closing filedescriptors
Eric Blake
eblake at redhat.com
Mon Jun 4 14:55:56 UTC 2012
On 06/04/2012 08:46 AM, Jiri Denemark wrote:
> EBADF errors are logged as warnings as they normally indicate a double
> close bug. This patch also provides VIR_MASS_CLOSE helper to be user in
> the only case of mass close after fork when EBADF should rather be
> ignored.
> ---
> src/util/command.c | 2 +-
> src/util/virfile.c | 31 +++++++++++++++++++++++--------
> src/util/virfile.h | 11 ++++++++---
> 3 files changed, 32 insertions(+), 12 deletions(-)
ACK.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120604/95285b80/attachment-0001.sig>
More information about the libvir-list
mailing list