Skip to content

Commit

Permalink
lreg log.h install tolerates EAGAIN
Browse files Browse the repository at this point in the history
  • Loading branch information
00pauln00 committed Nov 28, 2024
1 parent 512428e commit 0ef42d4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/include/log.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,15 +128,17 @@ struct log_entry_info
{ \
_node_install_rc = lreg_node_install(&logMsgLrn, &regFileEntry); \
NIOVA_ASSERT(!_node_install_rc || \
_node_install_rc == -EALREADY); \
_node_install_rc == -EALREADY || \
_node_install_rc == -EAGAIN); \
} \
if (lreg_node_needs_installation(&regFileEntry)) \
{ \
_node_install_rc = \
lreg_node_install(&regFileEntry, \
LREG_ROOT_ENTRY_PTR(log_entry_map)); \
NIOVA_ASSERT(!_node_install_rc || \
_node_install_rc == -EALREADY); \
_node_install_rc == -EALREADY || \
_node_install_rc == -EAGAIN); \
} \


Expand Down

0 comments on commit 0ef42d4

Please sign in to comment.