From 0ef42d4ad2944733ec9958dd3a33944cb02f6e4e Mon Sep 17 00:00:00 2001 From: Paul Nowoczynski Date: Thu, 28 Nov 2024 10:59:14 -0500 Subject: [PATCH] lreg log.h install tolerates EAGAIN --- src/include/log.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/include/log.h b/src/include/log.h index 1c80d906b..02658dc35 100644 --- a/src/include/log.h +++ b/src/include/log.h @@ -128,7 +128,8 @@ struct log_entry_info { \ _node_install_rc = lreg_node_install(&logMsgLrn, ®FileEntry); \ NIOVA_ASSERT(!_node_install_rc || \ - _node_install_rc == -EALREADY); \ + _node_install_rc == -EALREADY || \ + _node_install_rc == -EAGAIN); \ } \ if (lreg_node_needs_installation(®FileEntry)) \ { \ @@ -136,7 +137,8 @@ struct log_entry_info lreg_node_install(®FileEntry, \ LREG_ROOT_ENTRY_PTR(log_entry_map)); \ NIOVA_ASSERT(!_node_install_rc || \ - _node_install_rc == -EALREADY); \ + _node_install_rc == -EALREADY || \ + _node_install_rc == -EAGAIN); \ } \