summaryrefslogtreecommitdiff
path: root/lib/openbsd-queue.h
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-07-14 16:13:54 -0400
committerChristian Hopps <chopps@labn.net>2023-07-14 18:24:30 -0400
commit76835fd55868b485b17c3f9091721335bd466cd8 (patch)
treec4beaf3f0c69ddf8fa72b3b81ac0b025e1ee3f0c /lib/openbsd-queue.h
parent88236d4e952fa05274d5464236a8df4727a6a1c7 (diff)
lib: mgmtd: only clear pending for the in-progress command
The lock/unlocks are being done short-circuit so they are never pending; however, the handling of the unlock notification was always resuming the command if pending was set. In all cases pending is set for another command. For example implicit commit locks then when notified its done unlocks which was clearing the set-config pending flag and resuming that command incorrectly. Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/openbsd-queue.h')
0 files changed, 0 insertions, 0 deletions