Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5952027rwb; Sun, 11 Dec 2022 16:06:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf7xr/fP55UVTjIAmQ7+oqIU+5aRbFxRoNVrE2SzuFW3QQGWr4fzFOpBC0WCMyWetoAuWBhx X-Received: by 2002:a17:906:a95:b0:7c0:f684:9092 with SMTP id y21-20020a1709060a9500b007c0f6849092mr9916444ejf.37.1670803561151; Sun, 11 Dec 2022 16:06:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670803561; cv=none; d=google.com; s=arc-20160816; b=Aw5YIVkNDwBC1YtLVo61sfDq32zTIIXlAIR4gm3GJDRQoVM/eBhogUkAXM0M9+s+j4 AtBGXUlYa9KSFwdGkQ8qXLhCqRLMdSi8zz+I4BXLXoZKJ2c/0pT+6+E/oL1CvzFEvuMO sGRVEbp0Y86GyrAv/7Zi4i0QXS4+5xAgwTji+R0iJ9guf1pSaE6j5tCoeV6GWBBKR5Zy sJSHLOQJOJKuHfp/vYPLr/FnGHHGTR+z1hMgue2/k2pJfiFsMVyGaKn8J1VSKFolKU2K 3URtP+w+Vix7oBtnCREx1Zn9denP9fXCQ4cnqIcc3mcqhFsknLn8t1VXhymQD2SevkvS popg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ToEbtHR3jULC772ZcfjzcM00+VZmJ3X/80ro1aQXBKA=; b=njRktzfXMQGiYIgvIcI+7TXlMmtqK1DDA7xzT/AewpqgXPyJsDP4M7u5i3qKMI+vtY b+rGXpDzlcmTuiSTl/sf1Vphtziezn3tPnK9JpejPuZR7qrZSYlPgTH/XV69Tfh5lq4P SUPqHplS1y4fQ3Sc9EQpyd8rSJERKEt69uWj7WM+0LeCL9UW6EUuWamwMFuMOuRki4VY yM4uSdJMmA9oQKyjAUs440b6Z0QewO3+vi28Pl3WUOz3ocEn84HyjCePxwtsGHwZtH1t TgVBfLXEknGnsuJ9RUt0WvQNLACFJatoueuXyuhlneuUPiNZyYNhcpE2+M07azo4cb1r tp+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=bGibeFr9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p17-20020a1709060e9100b007c1479b6a78si4491946ejf.816.2022.12.11.16.05.43; Sun, 11 Dec 2022 16:06:01 -0800 (PST) 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; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=bGibeFr9; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230394AbiLKWmd (ORCPT + 75 others); Sun, 11 Dec 2022 17:42:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57924 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230364AbiLKWma (ORCPT ); Sun, 11 Dec 2022 17:42:30 -0500 Received: from zeniv.linux.org.uk (zeniv.linux.org.uk [IPv6:2a03:a000:7:0:5054:ff:fe1c:15ff]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A010BC8C; Sun, 11 Dec 2022 14:42:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=ToEbtHR3jULC772ZcfjzcM00+VZmJ3X/80ro1aQXBKA=; b=bGibeFr9cGNWqDbNIOSUYW7Llj lLWaIRI3XlQvpHr6Yew4WYm03E4jkONJS/HaXEh5MVZ8sDBrSZAeKmCErC01gOH75yIh/XjuSCD8+ +iTsBchNubnllYTNxqEBMRniXslZXUQ4IEeoflUwSYTXtREucbKsbnvEOsoNLLSJ1qM+6BqXEruZn Qje4B4sqZ3X1MhXWfPn3ItghsMC3w6prTfPrhLnchZybpxEmcDG/uG5xLjYKp8pQiY2uJE3hCrSQk ah7il0wLDJGaj4Eb0RYvksFaanSbZEhhRXpQlOULZNsN7aA+1Hl1rWHPUoAs54ROTL82b0OfMyikE GoI5MR6Q==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.96 #2 (Red Hat Linux)) id 1p4V1f-00B6xX-03; Sun, 11 Dec 2022 22:42:27 +0000 Date: Sun, 11 Dec 2022 22:42:26 +0000 From: Al Viro To: "Fabio M. De Francesco" Cc: Evgeniy Dushistov , Ira Weiny , linux-kernel@vger.kernel.org, bpf@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 2/3] fs/ufs: Change the signature of ufs_get_page() Message-ID: References: <20221211213111.30085-1-fmdefrancesco@gmail.com> <20221211213111.30085-3-fmdefrancesco@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221211213111.30085-3-fmdefrancesco@gmail.com> Sender: Al Viro X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Dec 11, 2022 at 10:31:10PM +0100, Fabio M. De Francesco wrote: > out_put: > ufs_put_page(page); > -out: > - return err; > out_unlock: > unlock_page(page); > goto out_put; Something strange has happened, all right - look at the situation after that patch. You've got out_put: ufs_put_page(page); out_unlock: unlock_page(page); goto out_put; Which is obviously bogus.