From patchwork Tue Jun 29 02:36:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Morton X-Patchwork-Id: 12348979 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF2F4C11F64 for ; Tue, 29 Jun 2021 02:36:08 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id B054961D07 for ; Tue, 29 Jun 2021 02:36:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B054961D07 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 0D2348D00AB; Mon, 28 Jun 2021 22:36:08 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 082B58D008F; Mon, 28 Jun 2021 22:36:08 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id E8BB88D00AB; Mon, 28 Jun 2021 22:36:07 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0170.hostedemail.com [216.40.44.170]) by kanga.kvack.org (Postfix) with ESMTP id BF7C08D008F for ; Mon, 28 Jun 2021 22:36:07 -0400 (EDT) Received: from smtpin15.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id BFC22180CC767 for ; Tue, 29 Jun 2021 02:36:07 +0000 (UTC) X-FDA: 78305196774.15.859E03B Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf22.hostedemail.com (Postfix) with ESMTP id 71217C01C082 for ; Tue, 29 Jun 2021 02:36:07 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 7DEB661D04; Tue, 29 Jun 2021 02:36:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1624934166; bh=8Q9LZIA0jxgMo3IOZhhdMdUw8zSeSrmEHZ9RsQsK+R4=; h=Date:From:To:Subject:In-Reply-To:From; b=ss6yDo7jl56TrLcQCBCny500MoofMJj7WRmwtQu7dFtF7shf1RGGX/bMPhrpKKtPO utcHaccl/lbofF8503XwN3Yybdqja/elPOIrkDCVc0XyUUzjljpibeYffyMDOV3n+r dFxugIv9nco0sYy0hdNVhrIgXXwbXnXKsujZ438w= Date: Mon, 28 Jun 2021 19:36:06 -0700 From: Andrew Morton To: akpm@linux-foundation.org, gregkh@linuxfoundation.org, hch@lst.de, jack@suse.cz, linux-mm@kvack.org, mm-commits@vger.kernel.org, torvalds@linux-foundation.org, viro@zeniv.linux.org.uk, willy@infradead.org Subject: [patch 054/192] fs: unexport __set_page_dirty Message-ID: <20210629023606.-g3FR-iHP%akpm@linux-foundation.org> In-Reply-To: <20210628193256.008961950a714730751c1423@linux-foundation.org> User-Agent: s-nail v14.8.16 Authentication-Results: imf22.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b=ss6yDo7j; spf=pass (imf22.hostedemail.com: domain of akpm@linux-foundation.org designates 198.145.29.99 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-Stat-Signature: trh85x7xhutgsrigi3fbut9pn1zuzigz X-Rspamd-Queue-Id: 71217C01C082 X-Rspamd-Server: rspam06 X-HE-Tag: 1624934167-148941 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: Christoph Hellwig Subject: fs: unexport __set_page_dirty Patch series "remove the implicit .set_page_dirty default". This series cleans up a few lose ends around ->set_page_dirty, most importantly removes the default to the buffer head based on if no method is wired up. This patch (of 3): __set_page_dirty is only used by built-in code. Link: https://lkml.kernel.org/r/20210614061512.3966143-1-hch@lst.de Link: https://lkml.kernel.org/r/20210614061512.3966143-2-hch@lst.de Signed-off-by: Christoph Hellwig Reviewed-by: Greg Kroah-Hartman Reviewed-by: Jan Kara Reviewed-by: Matthew Wilcox (Oracle) Cc: Al Viro Signed-off-by: Andrew Morton --- fs/buffer.c | 1 - 1 file changed, 1 deletion(-) --- a/fs/buffer.c~fs-unexport-__set_page_dirty +++ a/fs/buffer.c @@ -611,7 +611,6 @@ void __set_page_dirty(struct page *page, } xa_unlock_irqrestore(&mapping->i_pages, flags); } -EXPORT_SYMBOL_GPL(__set_page_dirty); /* * Add a page to the dirty page list.