Skip to content

Commit 17fce12

Browse files
raven-aubrauner
authored andcommitted
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 <[email protected]> Message-Id: <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
1 parent ccbe77f commit 17fce12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/autofs/waitq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void autofs_catatonic_mode(struct autofs_sb_info *sbi)
3232
wq->status = -ENOENT; /* Magic is gone - report failure */
3333
kfree(wq->name.name - wq->offset);
3434
wq->name.name = NULL;
35-
wake_up_interruptible(&wq->queue);
35+
wake_up(&wq->queue);
3636
if (!--wq->wait_ctr)
3737
kfree(wq);
3838
wq = nwq;

0 commit comments

Comments
 (0)