Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 896FEC369A5 for ; Mon, 31 Mar 2025 20:13:49 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-1.v29.lw.sourceforge.com) by sfs-ml-1.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from ) id 1tzLW0-0000yc-LQ; Mon, 31 Mar 2025 20:13:49 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-1.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1tzLVd-0000l2-I9 for linux-f2fs-devel@lists.sourceforge.net; Mon, 31 Mar 2025 20:13:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=5Yv+mmrf4Ehbcq6o3OrsTtgfh/Qzlg4X03uShXkQDUs=; b=k41Ir4WyMX+uvgHBfLUZWjxfiJ wqBv9NPqRSIm6YYTAW8Ju8e8EmI1j5oTgjLfDTROzYjTmkKppVzrjGDXxXnYwu9S2QZjOSj0mTzBi odHrQhKcR9RmrwyfERT/jwBqA8G8M3PivH1mE7iN5qHi1D8lI/7MjBLwMjGX5WdCQ6aw=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID: Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=5Yv+mmrf4Ehbcq6o3OrsTtgfh/Qzlg4X03uShXkQDUs=; b=cgpZQs+rARtuR6welR74DTiLwB hTglzfvLHG7etIO7qZA5Fq4IYzH+JOKuzqq4tF7oscqwpJrGRAL/XTDLM9JULnjNayjjk+wqiYJY0 JXqozf3FNlkZzVDg8dX2eAXbzL2YCIbFbGFujGN+ZXvA40RERledCpbFIoXAPJeYlpeQ=; Received: from casper.infradead.org ([90.155.50.34]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.95) id 1tzLVT-0003ZK-H0 for linux-f2fs-devel@lists.sourceforge.net; Mon, 31 Mar 2025 20:13:25 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=5Yv+mmrf4Ehbcq6o3OrsTtgfh/Qzlg4X03uShXkQDUs=; b=IqBZtBBMvjxxBMb7Wi1cGE7eBU M7zB3QJAAoaq8H2lMeLy8aZ36CgHOwjArCUmLtP9dGpWDRt0lzLAjJ7w0x66dMmTOKBQMS+TMV32O 0NMJnU0kzLbT1mFbUUtnENL+Xz5oSiRo+UjZI2WUcxQgrCWIHyv9cT87mvB4bBZokHr+rcqDNnE/R h88ZVji540/CX5ZYM2Or6y9N1RdOX9MYWrK078J4cNQ7ru8J4rG9y+sXM3xqAgZwHRtse9K/EwxQD tw8YuPZ/bF3L9QOGHAxAiInF9b+YrjTlvw9OYaOsY2YqWSCG8ayYDCr1/Wl2rRJfXluAkyB8RNLwp aBE1JLSA==; Received: from willy by casper.infradead.org with local (Exim 4.98.1 #2 (Red Hat Linux)) id 1tzLVN-00000004RmE-0W7E; Mon, 31 Mar 2025 20:13:09 +0000 From: "Matthew Wilcox (Oracle)" To: Jaegeuk Kim , Chao Yu Date: Mon, 31 Mar 2025 21:11:14 +0100 Message-ID: <20250331201256.1057782-55-willy@infradead.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250331201256.1057782-1-willy@infradead.org> References: <20250331201256.1057782-1-willy@infradead.org> MIME-Version: 1.0 X-Headers-End: 1tzLVT-0003ZK-H0 Subject: [f2fs-dev] [PATCH 054/153] f2fs: Remove f2fs_get_lock_data_page() X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Matthew Wilcox \(Oracle\)" , linux-f2fs-devel@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net All callers have now been converted to f2fs_get_lock_data_folio(), so remove this wrapper. Signed-off-by: Matthew Wilcox (Oracle) --- fs/f2fs/f2fs.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 2dcc3b48221b..ca6ad66c9078 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -3990,14 +3990,6 @@ struct page *f2fs_get_new_data_page(struct inode *inode, return &f2fs_get_new_data_folio(inode, ipage, index, new_i_size)->page; } -static inline struct page *f2fs_get_lock_data_page(struct inode *inode, - pgoff_t index, bool for_write) -{ - struct folio *folio = f2fs_get_lock_data_folio(inode, index, for_write); - - return &folio->page; -} - /* * gc.c */ -- 2.47.2 _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel