diff options
author | Ian Kent <raven@themaw.net> | 2023-08-04 13:33:18 +0800 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-08-04 13:57:34 +0200 |
commit | 17fce12e7c0a53f0bed26af231a2a98a34d34c60 (patch) | |
tree | 6934b3fe772ca59a45654099cbddec2562af3220 /fs/autofs/waitq.c | |
parent | ccbe77f7e45dfb4420f7f531b650c00c6e9c7507 (diff) | |
download | linux-stable-17fce12e7c0a53f0bed26af231a2a98a34d34c60.tar.gz linux-stable-17fce12e7c0a53f0bed26af231a2a98a34d34c60.tar.bz2 linux-stable-17fce12e7c0a53f0bed26af231a2a98a34d34c60.zip |
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>
Diffstat (limited to 'fs/autofs/waitq.c')
-rw-r--r-- | fs/autofs/waitq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/autofs/waitq.c b/fs/autofs/waitq.c index efdc76732fae..33dd4660d82f 100644 --- a/fs/autofs/waitq.c +++ b/fs/autofs/waitq.c @@ -32,7 +32,7 @@ void autofs_catatonic_mode(struct autofs_sb_info *sbi) wq->status = -ENOENT; /* Magic is gone - report failure */ kfree(wq->name.name - wq->offset); wq->name.name = NULL; - wake_up_interruptible(&wq->queue); + wake_up(&wq->queue); if (!--wq->wait_ctr) kfree(wq); wq = nwq; |