From patchwork Mon Dec 18 15:35:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 13497159 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 60282C35274 for ; Mon, 18 Dec 2023 15:36:15 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4F9708D000C; Mon, 18 Dec 2023 10:36:13 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 437118D0009; Mon, 18 Dec 2023 10:36:13 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 320D48D000C; Mon, 18 Dec 2023 10:36:13 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id 1448A8D0009 for ; Mon, 18 Dec 2023 10:36:13 -0500 (EST) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id E8997A21EB for ; Mon, 18 Dec 2023 15:36:12 +0000 (UTC) X-FDA: 81580340184.29.DEEF530 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf17.hostedemail.com (Postfix) with ESMTP id 1B6D740013 for ; Mon, 18 Dec 2023 15:36:09 +0000 (UTC) Authentication-Results: imf17.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=42baJCQw; dmarc=none; spf=none (imf17.hostedemail.com: domain of BATV+09f18f96a25a69770120+7421+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+09f18f96a25a69770120+7421+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=1702913770; 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=36T96oIsRQC1BPzxAOWfEESJ9XwkyWKz6mizx5levB4=; b=3Q8Oa65kSFJAfG30p8eUX/brw0u6oX7/sdW5iFxSBycByd4zmoJbNfgbZYlrAyn5vJ1U0p Pf7LEbCcjb+hEYPkcAHyU0WQsg12mHHdiwKGHn79W0QZr0Rl5gUK8l4B0mN+/7xISt9ImG z3GAS9K0y7+eL6f8mF0CvtQqDFEf8BQ= ARC-Authentication-Results: i=1; imf17.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=42baJCQw; dmarc=none; spf=none (imf17.hostedemail.com: domain of BATV+09f18f96a25a69770120+7421+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+09f18f96a25a69770120+7421+infradead.org+hch@bombadil.srs.infradead.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1702913770; a=rsa-sha256; cv=none; b=mvwDC3yPC9WLVU2W/1HIpyphTMLAXjPWGtYdAvIQCqaeCyijFUXoYcG1dTXNZkVXE1YSi5 dAbWPAqNJipW3OcqF+m90FiiYfg+eUFqiVUrPy0GrZF8R8uaTx7PzFDjb6K97hdKdBcw+8 yyIBroDO6JwjZyc+JhVRPqyIWHoWgqk= 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=36T96oIsRQC1BPzxAOWfEESJ9XwkyWKz6mizx5levB4=; b=42baJCQw3pOImDKmFbkkzEpkVQ 5NCVTCjUI/QZvG9jAZnUK4eyKqg84LJYQzNjtFggZSHzUQbx3wv/0y5vf20tJEpkPcN4clo+C8Gah damfhaw5voBLIumLJ7gGslg3H01RWcXG2RyNByfC6JWSnPfezp2VXRvqa9TlemNsnsh6fx90vCdNE QCybiqW+qDXQzcNbVC29SchVdBVODfmFbi1d6AxVM31jdqZAPxo9rQ9vPyfHTafY12LbYBVYOTs+2 oPjMMUHHR1Xbnti7JO9/8/ZtRt3YHFmxVv/j0Ngpl7h4Q3yavIoFQtGXYJSeX3ABChPl9NCimD7kx jSDTxgNw==; 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 1rFFf6-00BELm-1G; Mon, 18 Dec 2023 15:36:09 +0000 From: Christoph Hellwig To: linux-mm@kvack.org Cc: "Matthew Wilcox (Oracle)" , Jan Kara , David Howells , Brian Foster , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 05/17] writeback: remove a duplicate prototype for tag_pages_for_writeback Date: Mon, 18 Dec 2023 16:35:41 +0100 Message-Id: <20231218153553.807799-6-hch@lst.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231218153553.807799-1-hch@lst.de> References: <20231218153553.807799-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-Rspamd-Server: rspam09 X-Rspamd-Queue-Id: 1B6D740013 X-Stat-Signature: kmaxz3hfp9ddrweezmuo8dw44rajsuqc X-Rspam-User: X-HE-Tag: 1702913769-466558 X-HE-Meta: U2FsdGVkX18j07837XqzL0/YU5rZdGRfaBtOKBSkfR0vJnvrNKlVfK5oIIJu22y0HyWkMlgLUkq837XY+OLzyZo7NYow4/3UpP95EKUfqEl2R2owK7eItm917cS/EwX/jW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nN46iK+uksYA4D9cLhLWIe5+repWIarRCZqZc9J3ChxzVnR/9kljDUhKXavZwZxW/5dxCwKVmFfDl0BLWnxyHRUHu/s79dFVXc2muzvLiKGYXdYuO9YXtZdjRhXRWr9FDEpfIDsDXFq+LBSi9Ax8uu9hzw2iTE5XBCGsmCsm2yrSbTKqZISKu5+fzTP5OfepKIix6Ld4qATqcGKexStyAVtGoDIgEulF+2RQc7e8GulPVd75Y2qLlQw8f03XvFSkZq2vuVrrWGb3TJFPOdch3yXKUI9/xiO+mkk4dbnsGmbpPqI+ZD8fJPIljU= 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 --- include/linux/writeback.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/writeback.h b/include/linux/writeback.h index 083387c00f0c8b..833ec38fc3e0c9 100644 --- a/include/linux/writeback.h +++ b/include/linux/writeback.h @@ -364,8 +364,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);