diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/async.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/async.c b/kernel/async.c index 9737338..64cc916 100644 --- a/kernel/async.c +++ b/kernel/async.c @@ -206,7 +206,9 @@ EXPORT_SYMBOL_GPL(async_schedule_special); void async_synchronize_full(void) { - async_synchronize_cookie(next_cookie); + do { + async_synchronize_cookie(next_cookie); + } while (!list_empty(&async_running) || !list_empty(&async_pending)); } EXPORT_SYMBOL_GPL(async_synchronize_full); |