OSDN Git Service

monitor: release the lock before calling close()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 6 Mar 2023 12:27:46 +0000 (16:27 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 13 Mar 2023 11:40:41 +0000 (15:40 +0400)
commit78ae0e2613831909f1e553d45fae7925ade6c7f7
treec143b0547bb50715771e439cf00b085f11e17e5c
parentbf5de8c5d66552721fefe08de849c115ca366b56
monitor: release the lock before calling close()

As per comment, presumably to avoid syscall in critical section.

Fixes: 0210c3b39bef08 ("monitor: Use LOCK_GUARD macros")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230306122751.2355515-7-marcandre.lureau@redhat.com>
monitor/fds.c