Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp3144145rwo; Thu, 3 Aug 2023 23:20:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFyt+CkOFxrl891JPNHMCm5VhmRODb6ToWyIhfEpCTn2fv0fpFBNCTo4IfNuOtOwJwoM8g3 X-Received: by 2002:a17:903:32ce:b0:1b9:e97f:38ac with SMTP id i14-20020a17090332ce00b001b9e97f38acmr684943plr.56.1691130041542; Thu, 03 Aug 2023 23:20:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691130041; cv=none; d=google.com; s=arc-20160816; b=qMfcIPJDcU64JoCnI7QrS7AW5CxXTmm6cvhp4mOvzZ+fvAD4yseWRh46N6bYx8AyC/ xdFGJA1mPhlnOpVIHnzia8+u9Y6FEwi7JBoTdy9oCrXGLUohhMVaZ4pkg0HLglOR6lpT Tf+0dlTzIvyQit5G66KE8C031qUcVTuYNgEgUlkdrHLCe+WgosGbuTidzvwN6RWqVte6 M/pEc+MTaXtMsq/mjl8fPWoLUQ3RoN5cJ98t6azawFCkb06xVRNFQKirOtevZe/zIGee px/Bkuf/4Sbk4R+4rluUfs+9+VgOTEYZmGrRrkJUaxWw+vxbshotJD1vrduJCSMFPYwh xTZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:cc:to:from :subject; bh=tttNzxnECBEGpOtOcBmMYNeXtvARAwVnw39wqL41p6Q=; fh=HyMFn70SBfxcLdBFbfHTPsucKGij4W5w+6oBv1I/GOk=; b=KA1LBWhZ/sL1VNsEmLbgooIkTqFiuAV7NPZGUFqhTwdG4Mht41EhCkGqSFrrZ97xEv 192uibL0nnlNRjdA8PqLAEgmEcBvLeRgGyignmkHH4FBCheXCvK/LKEiphd6gRUJdH5T KeVjGPHsVxCCj61uTtu+dZ4uKvVpPoV8Hg3NNqZwQoCdRPdFba+ca+R6Y5HW+dKR7f+O mb0W2HoJ5dplz4BJjECL7/1vdoHIIF83D6q02DzVtRdw9uXewDZOt9DYzjjTy5q4T4V2 pSHdmhx1dXP2/u7BgogsbQc3aZNI0Z8zFCaWTVSMn61rSCfYSi6ssFVB94UBuSkalNzd Osmg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s20-20020a170903215400b001b53b6b029csi1136291ple.124.2023.08.03.23.20.28; Thu, 03 Aug 2023 23:20:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231222AbjHDFkQ (ORCPT + 99 others); Fri, 4 Aug 2023 01:40:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231835AbjHDFkK (ORCPT ); Fri, 4 Aug 2023 01:40:10 -0400 Received: from smtp01.aussiebb.com.au (smtp01.aussiebb.com.au [121.200.0.92]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97688E46; Thu, 3 Aug 2023 22:40:05 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp01.aussiebb.com.au (Postfix) with ESMTP id 6CB371015A9; Fri, 4 Aug 2023 15:33:19 +1000 (AEST) X-Virus-Scanned: Debian amavisd-new at smtp01.aussiebb.com.au Received: from smtp01.aussiebb.com.au ([127.0.0.1]) by localhost (smtp01.aussiebb.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3WRgSlxFvley; Fri, 4 Aug 2023 15:33:19 +1000 (AEST) Received: by smtp01.aussiebb.com.au (Postfix, from userid 116) id 61AD71015A4; Fri, 4 Aug 2023 15:33:19 +1000 (AEST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from donald.themaw.net (2403-580e-4b40-0-7968-2232-4db8-a45e.ip6.aussiebb.net [IPv6:2403:580e:4b40:0:7968:2232:4db8:a45e]) by smtp01.aussiebb.com.au (Postfix) with ESMTP id 746C2101592; Fri, 4 Aug 2023 15:33:18 +1000 (AEST) Subject: [PATCH 2/2] autofs: use wake_up() instead of wake_up_interruptible(() From: Ian Kent To: Al Viro , Christian Brauner Cc: autofs mailing list , linux-fsdevel , Kernel Mailing List , Fedor Pchelkin , Takeshi Misawa , Alexey Khoroshilov , Matthew Wilcox , Andrey Vagin Date: Fri, 04 Aug 2023 13:33:18 +0800 Message-ID: <169112719813.7590.4971499386839952992.stgit@donald.themaw.net> In-Reply-To: <169112719161.7590.6700123246297365841.stgit@donald.themaw.net> References: <169112719161.7590.6700123246297365841.stgit@donald.themaw.net> User-Agent: StGit/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- fs/autofs/waitq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;