From patchwork Thu Jan 25 08:57:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 13530238 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7EF00C47258 for ; Thu, 25 Jan 2024 08:58:25 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 17A90280009; Thu, 25 Jan 2024 03:58:25 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 14FC0280001; Thu, 25 Jan 2024 03:58:25 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 047F1280009; Thu, 25 Jan 2024 03:58:24 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id E5FE7280001 for ; Thu, 25 Jan 2024 03:58:24 -0500 (EST) Received: from smtpin05.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id B9C7B120DBE for ; Thu, 25 Jan 2024 08:58:24 +0000 (UTC) X-FDA: 81717232128.05.C6FEFF4 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf28.hostedemail.com (Postfix) with ESMTP id 33474C001E for ; Thu, 25 Jan 2024 08:58:22 +0000 (UTC) Authentication-Results: imf28.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=GXlszTq6; dmarc=none; spf=none (imf28.hostedemail.com: domain of BATV+b97a0fc658bf3e588113+7459+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+b97a0fc658bf3e588113+7459+infradead.org+hch@bombadil.srs.infradead.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1706173103; a=rsa-sha256; cv=none; b=4QLmXKhxpQzeC2+RE8h5f2faLg56zeKtbFVawdv0P7Seed5lJGnLAuKkWyVxJdhAwbPHFD DayYKVwibtDAtW1Ku3+xsOQ35V7wVYda5yqXIg84J2pfAw4p+bRXjx3aZtHyWy4o3IZez6 j70zmrZTKo+DP0l+S66X75MUgL9pFww= ARC-Authentication-Results: i=1; imf28.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=GXlszTq6; dmarc=none; spf=none (imf28.hostedemail.com: domain of BATV+b97a0fc658bf3e588113+7459+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+b97a0fc658bf3e588113+7459+infradead.org+hch@bombadil.srs.infradead.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1706173103; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=Taksxj6ldsIHACaAalkM9jooesWM/uwlc+qMiL84I/w=; b=qwumoFOsFYa4uFAsFiIRboMvupxnYEasOqPAo5N/cnN2lefuur5vpENtlh+8V/wQ36OCZ7 XgRBcVdD8HAVfA3Ff/52mNYVfaHscJQ06oKbtNqxWCQq3LkF6hFBCzJYgJ+zqI7pCqUGfg V8dJhN6DUmnC2knJANr9cWHkH0o6ZIQ= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=Taksxj6ldsIHACaAalkM9jooesWM/uwlc+qMiL84I/w=; b=GXlszTq66WVW6aNXlFQph8c9ec +uEY+GZCHqemFTAAG1dRDeShUFrgHZ886JX0tfhFtxQJ5IaaQrNNp8D3bk+EMuwcl34AbvvJM9l3J XS8A/YQ6Qhg9fsY7psv1wnOTtNFxk8ynFXa3yEGAJXJxnoPzO6kanY4MSDyepXIOpP4ttSUCJvALG icbVpuyEDb3zJBoekF8IPH5fBVW72ixdQpehxaJidncDc5Wq6S8fbyPITeP/8AHBYR5elWPXyzZDw gM/aWzH37d2eyg75230hwI9gEMGsl6+E0D09XvH7NE94ULvS3qmeFzXhs0osVgYjcWuUIPElZkuYB AUcJQ2Dg==; Received: from 2a02-8389-2341-5b80-39d3-4735-9a3c-88d8.cable.dynamic.v6.surfer.at ([2a02:8389:2341:5b80:39d3:4735:9a3c:88d8] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rSvYz-007QFR-2f; Thu, 25 Jan 2024 08:58:22 +0000 From: Christoph Hellwig To: linux-mm@kvack.org Cc: Matthew Wilcox , Jan Kara , David Howells , Brian Foster , Christian Brauner , "Darrick J. Wong" , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Jan Kara , Dave Chinner Subject: [PATCH 05/19] writeback: remove a duplicate prototype for tag_pages_for_writeback Date: Thu, 25 Jan 2024 09:57:44 +0100 Message-Id: <20240125085758.2393327-6-hch@lst.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240125085758.2393327-1-hch@lst.de> References: <20240125085758.2393327-1-hch@lst.de> MIME-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Rspam-User: X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: 33474C001E X-Stat-Signature: gaqaorakrstwhpzoiz6cqjjg6xbjjifc X-HE-Tag: 1706173102-387504 X-HE-Meta: U2FsdGVkX19SXYlxoHq+8J4V+I0F2bo1XKRaP7xGYJf5a9LBdQFZIOTlbaatXgqCbdviydwHShKl7F4/A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rA65xHBRvq6ZoTuZnTLDQGlIrKpxS+A3I5uGRs/WRi/AOHmj6EWwZZy73dAH8S1vs0F0NAD8Ty/k3GWJ1WakfWOlJkzVY2GvPaSX5rp82hpxvTG7QH4ZPdUQFaor8fu409t+9/WpZK+voRYsNxOEv2MlPQL7CY6RkXjt+WA5+30ClKlGycH2RPm+gZ/WTGAh5KnXSPnHwooxDll8bePZGObmG05kHNuQpVW/7xywbWygJFsYaVr1EXU7VjDBmYw3JI0JTZIrb9WXOUAfd60PLIXlvmoRHbypiFPuCZcu7EE3MIo6z3WUxX4WRSzoH3Tc1Aju9YnjfAAUesmA2k+fZ8j5p5EX6Fk9nSBcBRstxVipi0XwMW 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: List-Subscribe: List-Unsubscribe: From: "Matthew Wilcox (Oracle)" Signed-off-by: Christoph Hellwig [hch: split from a larger patch] Signed-off-by: Matthew Wilcox (Oracle) Reviewed-by: Jan Kara Acked-by: Dave Chinner --- include/linux/writeback.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/writeback.h b/include/linux/writeback.h index 453736fd1d23ce..4b8cf9e4810bad 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h @@ -363,8 +363,6 @@ bool wb_over_bg_thresh(struct bdi_writeback *wb); typedef int (*writepage_t)(struct folio *folio, struct writeback_control *wbc, void *data); -void tag_pages_for_writeback(struct address_space *mapping, - pgoff_t start, pgoff_t end); int write_cache_pages(struct address_space *mapping, struct writeback_control *wbc, writepage_t writepage, void *data);