autofs: use wake_up() instead of wake_up_interruptible(()

In autofs_wait_release() wake_up() is used to wake up processes waiting
on a mount callback to complete which matches the wait_event_killable()
in autofs_wait().

But in autofs_catatonic_mode() the wake_up_interruptible() was not also
changed at the time autofs_wait_release() was changed.

Signed-off-by: Ian Kent <raven@themaw.net>
Message-Id: <169112719813.7590.4971499386839952992.stgit@donald.themaw.net>
Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Ian Kent 2023-08-04 13:33:18 +08:00 committed by Christian Brauner
parent ccbe77f7e4
commit 17fce12e7c
No known key found for this signature in database
GPG Key ID: 91C61BC06578DCA2

View File

@ -32,7 +32,7 @@ void autofs_catatonic_mode(struct autofs_sb_info *sbi)
wq->status = -ENOENT; /* Magic is gone - report failure */ wq->status = -ENOENT; /* Magic is gone - report failure */
kfree(wq->name.name - wq->offset); kfree(wq->name.name - wq->offset);
wq->name.name = NULL; wq->name.name = NULL;
wake_up_interruptible(&wq->queue); wake_up(&wq->queue);
if (!--wq->wait_ctr) if (!--wq->wait_ctr)
kfree(wq); kfree(wq);
wq = nwq; wq = nwq;