]> git.proxmox.com Git - mirror_kronosnet.git/commit
[libknet] Unlock the global lock if logging pipe is full.
authorChristine Caulfield <ccaulfie@redhat.com>
Fri, 26 May 2017 08:46:21 +0000 (09:46 +0100)
committerChristine Caulfield <ccaulfie@redhat.com>
Fri, 26 May 2017 08:49:53 +0000 (09:49 +0100)
commitd40fbd5501a5d0745a33b7355166c66e13f8269c
tree3ed9660b0dd081ee61cb3d067fda29e0d15a9025
parenta5983de29eee9a38fedb3a74e151991827a2d8ff
[libknet] Unlock the global lock if logging pipe is full.

If a write to the logging pipe fails (eg it's busy
waiting on something else, I've seen this in corosync
at shutdown) then we must unlock the global_rwlock
or we'll never get out of this alive.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
libknet/logging.c