summaryrefslogtreecommitdiffstats
path: root/fs/aio.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2024-04-29 17:15:57 +0200
committerMark Brown <broonie@kernel.org>2024-04-29 17:15:57 +0200
commit9b4f41684b239eedac96913270db4a5669956671 (patch)
treecb9b4800c3d6b93bc4af31fa3e377933c68f9bb2 /fs/aio.c
parentASoC: dt-bindings: fsl,ssi: Convert to YAML (diff)
parentASoC: rt715-sdca: volume step modification (diff)
downloadlinux-9b4f41684b239eedac96913270db4a5669956671.tar.xz
linux-9b4f41684b239eedac96913270db4a5669956671.zip
ASoC: Merge up fixes
Some new SOF changes depend on the fixes there.
Diffstat (limited to 'fs/aio.c')
-rw-r--r--fs/aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/aio.c b/fs/aio.c
index 9cdaa2faa536..0f4f531c9780 100644
--- a/fs/aio.c
+++ b/fs/aio.c
@@ -1202,8 +1202,8 @@ static void aio_complete(struct aio_kiocb *iocb)
spin_lock_irqsave(&ctx->wait.lock, flags);
list_for_each_entry_safe(curr, next, &ctx->wait.head, w.entry)
if (avail >= curr->min_nr) {
- list_del_init_careful(&curr->w.entry);
wake_up_process(curr->w.private);
+ list_del_init_careful(&curr->w.entry);
}
spin_unlock_irqrestore(&ctx->wait.lock, flags);
}