aboutsummaryrefslogtreecommitdiff
path: root/src/loop
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2025-11-11 20:35:20 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2025-11-11 20:55:58 +0100
commit5ce25ae3b5d8666d373f7d7e336546ce8508c213 (patch)
tree4aacb570241c1005590a47ac49adb4b75a8ffd8d /src/loop
parentf7ad4d9216b488f76ed4b3c8e423cd926e134b9d (diff)
downloadwnix-5ce25ae3b5d8666d373f7d7e336546ce8508c213.tar.gz
fixes
Diffstat (limited to 'src/loop')
-rw-r--r--src/loop/src/rm_aio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/loop/src/rm_aio.c b/src/loop/src/rm_aio.c
index 5d4f159..5401d97 100644
--- a/src/loop/src/rm_aio.c
+++ b/src/loop/src/rm_aio.c
@@ -34,6 +34,8 @@ int loop_rm_aio(struct aio *const aio)
if (next)
next->prev = NULL;
+ else
+ loop_aio_tail = NULL;
}
else if ((prev->next = next))
next->prev = prev;