Message ID | 20231114084436.2755-13-konishi.ryusuke@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1727931vqg; Tue, 14 Nov 2023 00:48:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IEbQcfkSoApINqvMtazUZcTrMHIL/U+BnQesqLJTKnF2ypqyYODpNLat7/JNsaa+JE1Ferd X-Received: by 2002:a17:902:f814:b0:1cc:cff:43b6 with SMTP id ix20-20020a170902f81400b001cc0cff43b6mr1338942plb.54.1699951686877; Tue, 14 Nov 2023 00:48:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699951686; cv=none; d=google.com; s=arc-20160816; b=Eg+qKWjTF+x/HPWk6dCfKYFHCMuQQHoAG5v2oWaCW7mcVfoI9s5Bklg+iB9oWRihy4 yQWiUHmBAPNkjtpJS6tBUO/k2aQk/IxFvuWipQtM7QNZNFfPRPzYY1XALMde/DZZ5JYp By1H3NPrLSviK6PEgD8WPKdA9j49aJETOinTSX1vbSYsqkm6fJvGHKYBKCbkMAY28XXI gIJCYm0mCbQYcbIiw4qS/1cv8G+7gl0rpLxm7kEllrN6/ym0Ybgb6lnVLrYNwqT/7OfD 12TMAySuNdI+6z6dEeKL4fwQcDQwBXcyYkDGJD0LuhNhJtoTDPxHEg0+tZm8i+AdBsBT yFbA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=jOfolZFbaeNksDOEbKm+WHbGTOTwNzBMg/acdZEYYm0=; fh=c4gLbwT9pvttlQWxFI2VesWIZ95B4IQ3bBh75IOono4=; b=MkRaBGLZXQA5rrH0vhWj2szUodjUO0bmCwizY4tq8068y85TPjinhwTPOXJ2npVcdN IO9FSOAlf6st2RoUIPH2ZXSdLnXAfl29iRTu9RkSsggzfBfM2WYTekTCdGQkfT/fsUhM U67qmIau5lXFUCuYirE4hNu49oSmAw0InhdcWRwrko8ax9fDXdacxy395vCeZO/X5iyl khjvGR9DPAHs/0WZt0RSjYvHP3OYkLCyOEZme0ZRTDHzMy9mAnWuaCKnY6SvM80Q2JA9 b+vW8LD1OxUkckeK9aqLnnzY2E/7Tj1ggHFt0DuORbC7Y15KNzN+iQYXW7LyhDpKK29u yHCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="Q4/Q46fQ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id l14-20020a170903244e00b001c58401354dsi7676989pls.565.2023.11.14.00.48.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Nov 2023 00:48:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="Q4/Q46fQ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id BE98E80C3AA0; Tue, 14 Nov 2023 00:47:50 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232681AbjKNIqf (ORCPT <rfc822;lhua1029@gmail.com> + 30 others); Tue, 14 Nov 2023 03:46:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232520AbjKNIqD (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 14 Nov 2023 03:46:03 -0500 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5826172A; Tue, 14 Nov 2023 00:45:55 -0800 (PST) Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-6c33ab26dddso4647572b3a.0; Tue, 14 Nov 2023 00:45:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699951555; x=1700556355; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=jOfolZFbaeNksDOEbKm+WHbGTOTwNzBMg/acdZEYYm0=; b=Q4/Q46fQKj/iZ+6jlByyi8fVg2sibhtdHaSm03Bmt8R51a/vcqR995EAXBYKk7dB3/ LCg3350aatZC9wTrxN6QUnkQhAS6kjrTDFCXs0UfSMLm9AihNbIieZAFajAPwaVzIfjO 0T3apb2g+IIWCGQ4+GF3uZzfJtWMfvdNAei/keglE1WWMY4ZmRqrMaCfXF3E8jUseOVf VbcHeLY8x5RRBfMdvEXcl022V/e9wkNwGPsQmUIWN+RIiZHAXMe6KwCl+c1pMHEYyBNq cQ3pF220say2e+PB5/HkO8CyE0H2CmULrElKZfKYZt1LDL6kOJBrUGiTwACMIpZ0MXjA qVgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699951555; x=1700556355; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jOfolZFbaeNksDOEbKm+WHbGTOTwNzBMg/acdZEYYm0=; b=wvE0L2u7/289yHL3o4Db1KUhNz2WFnrKTM+/Zq4VDbAcrZXZ58VNIPfssN6bRC+CsQ 2DLteAfS/waP0VFrHmw4bsCniryjxxRoQ8BgCfXXIA7TYH+SLLL36imdaPN2wdLn27pv 631DUwiE1666E86IVbDeUfzVJCNzyxOTP7ix3KRPIloiyaK5sM+v0SLCIhnrqv0lizov Q7we9TVF6xr+kEHo4cB1jDjs+M4Gfu3uVeJRvbb7mjVTd0ueG82wkg1g1niqV//2GojL qErq9uxwtEv4J57/aC3BbF6/IgN1aHXqx/Y3/wCrzUOV6GVSYxh13c7x497CvSh1H3gl 6llQ== X-Gm-Message-State: AOJu0YxU4rguTBUceJFxP1pwMukAweFu1l2kkg44sFP9215A0yspXeej RydXjVlxvFPr5IbiypByf/0= X-Received: by 2002:a05:6a00:2e1f:b0:6c6:b762:ad8c with SMTP id fc31-20020a056a002e1f00b006c6b762ad8cmr7012892pfb.0.1699951555054; Tue, 14 Nov 2023 00:45:55 -0800 (PST) Received: from carrot.. (i223-218-133-131.s42.a014.ap.plala.or.jp. [223.218.133.131]) by smtp.gmail.com with ESMTPSA id u17-20020a056a00159100b006c4d2479c1asm748083pfk.219.2023.11.14.00.45.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Nov 2023 00:45:54 -0800 (PST) From: Ryusuke Konishi <konishi.ryusuke@gmail.com> To: Andrew Morton <akpm@linux-foundation.org> Cc: linux-nilfs@vger.kernel.org, Matthew Wilcox <willy@infradead.org>, linux-kernel@vger.kernel.org Subject: [PATCH 12/20] nilfs2: Convert nilfs_mdt_create_block to use a folio Date: Tue, 14 Nov 2023 17:44:28 +0900 Message-Id: <20231114084436.2755-13-konishi.ryusuke@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231114084436.2755-1-konishi.ryusuke@gmail.com> References: <20231114084436.2755-1-konishi.ryusuke@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 14 Nov 2023 00:47:50 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782528539957964666 X-GMAIL-MSGID: 1782528539957964666 |
Series |
nilfs2: Folio conversions for file paths
|
|
Commit Message
Ryusuke Konishi
Nov. 14, 2023, 8:44 a.m. UTC
From: "Matthew Wilcox (Oracle)" <willy@infradead.org> Saves two calls to compound_head(). Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com> --- fs/nilfs2/mdt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/nilfs2/mdt.c b/fs/nilfs2/mdt.c index 2e7952ac2f67..7e4dcff2c94b 100644 --- a/fs/nilfs2/mdt.c +++ b/fs/nilfs2/mdt.c @@ -97,8 +97,8 @@ static int nilfs_mdt_create_block(struct inode *inode, unsigned long block, } failed_bh: - unlock_page(bh->b_page); - put_page(bh->b_page); + folio_unlock(bh->b_folio); + folio_put(bh->b_folio); brelse(bh); failed_unlock: