[libvirt] [PATCH v2] file: Log closing filedescriptors
Jiri Denemark
jdenemar at redhat.com
Mon Jun 4 15:11:39 UTC 2012
On Mon, Jun 04, 2012 at 08:55:56 -0600, Eric Blake wrote:
> 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.
Thanks, pushed.
Jirka
More information about the libvir-list
mailing list