*/
 static autofs_wqt_t autofs4_next_wait_queue = 1;
 
-/* These are the signals we allow interrupting a pending mount */
-#define SHUTDOWN_SIGS  (sigmask(SIGKILL) | sigmask(SIGINT) | sigmask(SIGQUIT))
-
 void autofs4_catatonic_mode(struct autofs_sb_info *sbi)
 {
        struct autofs_wait_queue *wq, *nwq;
         * wq->name.name is NULL iff the lock is already released
         * or the mount has been made catatonic.
         */
-       if (wq->name.name) {
-               /* Block all but "shutdown" signals while waiting */
-               unsigned long shutdown_sigs_mask;
-               unsigned long irqflags;
-               sigset_t oldset;
-
-               spin_lock_irqsave(¤t->sighand->siglock, irqflags);
-               oldset = current->blocked;
-               shutdown_sigs_mask = SHUTDOWN_SIGS & ~oldset.sig[0];
-               siginitsetinv(¤t->blocked, shutdown_sigs_mask);
-               recalc_sigpending();
-               spin_unlock_irqrestore(¤t->sighand->siglock, irqflags);
-
-               wait_event_interruptible(wq->queue, wq->name.name == NULL);
-
-               spin_lock_irqsave(¤t->sighand->siglock, irqflags);
-               current->blocked = oldset;
-               recalc_sigpending();
-               spin_unlock_irqrestore(¤t->sighand->siglock, irqflags);
-       } else {
-               pr_debug("skipped sleeping\n");
-       }
-
+       wait_event_killable(wq->queue, wq->name.name == NULL);
        status = wq->status;
 
        /*
        kfree(wq->name.name);
        wq->name.name = NULL;   /* Do not wait on this queue */
        wq->status = status;
-       wake_up_interruptible(&wq->queue);
+       wake_up(&wq->queue);
        if (!--wq->wait_ctr)
                kfree(wq);
        mutex_unlock(&sbi->wq_mutex);