From patchwork Thu Feb 15 06:36:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 13557436 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 D2E6FC4829E for ; Thu, 15 Feb 2024 06:37:14 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 125C86B00AA; Thu, 15 Feb 2024 01:37:09 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id D31616B00A7; Thu, 15 Feb 2024 01:37:08 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9D1956B00A9; Thu, 15 Feb 2024 01:37:08 -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 650226B00A7 for ; Thu, 15 Feb 2024 01:37:08 -0500 (EST) Received: from smtpin07.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 1BF9140873 for ; Thu, 15 Feb 2024 06:37:08 +0000 (UTC) X-FDA: 81793080936.07.BF2D3AC Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf13.hostedemail.com (Postfix) with ESMTP id 70DAC20005 for ; Thu, 15 Feb 2024 06:37:06 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=RQy5ZP4K; dmarc=none; spf=none (imf13.hostedemail.com: domain of BATV+a252b21bd4a653ddb6e6+7480+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+a252b21bd4a653ddb6e6+7480+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=1707979026; 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=+lqvdXiJyeUBbv4RbCH+VsOF1ziPvzDxge6GroiRQvo=; b=pTRXN7Gu2mKwsCY8vxVOpXNqT2c12oDeH3vJ4gayfkW/SgcPJjFNmdaz+U7RUgPc53K9RG EmTn8PeaiM7/SHfauO/+S2lTUUjiyR8bNk/9rubFM9WF8TNNTn88wVzVzWZC/NhUfWPRoy ah4ZbJ7puf2ewim5E8PokS2lOIP3ZmI= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b=RQy5ZP4K; dmarc=none; spf=none (imf13.hostedemail.com: domain of BATV+a252b21bd4a653ddb6e6+7480+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+a252b21bd4a653ddb6e6+7480+infradead.org+hch@bombadil.srs.infradead.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1707979026; a=rsa-sha256; cv=none; b=wvDZF/7Hyl/gZkI2kun5pLizhlJ6TfMevquu/Pm4CBz7c+cUisjVKPKqoe5IN7RMDt7+Uu 3T0KAMykPafVs0OiUUBRaURupWqq5X5IkQKq4Da9mhfFO3FRcu0KWmYI3uxkgqURuUhCpR X1GUzK58vJOU21VBJAVw25hst4TBCCY= 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=+lqvdXiJyeUBbv4RbCH+VsOF1ziPvzDxge6GroiRQvo=; b=RQy5ZP4K+MfZPbgvfHc/NQ8KKg /6kUwQ2DirErEZ02NYbD0SuZEXTN3xFdk4RRZgNfUoghQCegfesZxeVsgjgZuqljlaTeehhhryRws H8jn4iZs9OkXYFWnHUUKPoobWTwYzUUqEDUvFFwISJtD0CL3ljuJimr8QWkLNiJ3PZ+d9lzt00uqT CH+gSCJeBoj9W/Tu06EUGk+0rt5X8l+aleBGY15DXdZ1jKJjezRErCB5Yjwex3fP4Igr8mavIXIJ3 VQI5RStF7Dma1XC8/Lq4JqxK0xzV5sLj1ucujTbSmsrHvq80FRAY5npC3+SOcKP1qUJkQ7acIERdO u/QgPIkw==; 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.97.1 #2 (Red Hat Linux)) id 1raVMm-0000000F6rU-0x11; Thu, 15 Feb 2024 06:37:04 +0000 From: Christoph Hellwig To: linux-mm@kvack.org Cc: Matthew Wilcox , Jan Kara , David Howells , Brian Foster , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Jan Kara , Dave Chinner Subject: [PATCH 02/14] writeback: remove a duplicate prototype for tag_pages_for_writeback Date: Thu, 15 Feb 2024 07:36:37 +0100 Message-Id: <20240215063649.2164017-3-hch@lst.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240215063649.2164017-1-hch@lst.de> References: <20240215063649.2164017-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-Stat-Signature: hbznyfe7h55bp5gajuqsmwfsubsjejcq X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 70DAC20005 X-HE-Tag: 1707979026-155330 X-HE-Meta: U2FsdGVkX1++QTvG9Jttl+oW2dRgFxcmCuho1+HdSSKcqMmkpVnFly13WFxNTPXFlYO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5d2l6XVB2tO+UUCz/5K3lrqvhr2jNInR4dn27I70pSNuJpLjxJzxHaHu+n7CPiVLyAuEgmzoe5DfzjMcA1tpyqlrkgiRzRnLcNC2SZi43VS6u431QSvL8eiXsKYO5Jh/e7J8JYNb4XzlbLwtVxaFX2Z7Rb8SDKn+/72EX72QffHd/F5F1R/FLOBMUyOHbZPntHycgySNiSYXYOecoZqsGndr9kMgAq1xXhbV+LWmULlNqNzKPkk+rvYT5uG/44ut8EQFQArrwXWm85TzVUPOiKGyfMakkKDEpKkt5ehMM2x7PkmreJ2GIRHfthssuJAuet9fLnDPvKhwQEtO5IzZ5Wg3tLZ9s1kmaJoNJd+gSq+jeemnKuxlkJ 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: Brian Foster 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);