From patchwork Mon Feb 12 07:13:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 13552743 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 32E3EC4829B for ; Mon, 12 Feb 2024 07:14:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id AE46F6B0075; Mon, 12 Feb 2024 02:14:05 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A96176B0078; Mon, 12 Feb 2024 02:14:05 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 90E076B007B; Mon, 12 Feb 2024 02:14:05 -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 822BD6B0075 for ; Mon, 12 Feb 2024 02:14:05 -0500 (EST) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 437F314092F for ; Mon, 12 Feb 2024 07:14:05 +0000 (UTC) X-FDA: 81782287650.28.C21726B Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by imf23.hostedemail.com (Postfix) with ESMTP id 9EBBA140003 for ; Mon, 12 Feb 2024 07:14:03 +0000 (UTC) Authentication-Results: imf23.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b="lhWVSV/4"; dmarc=none; spf=none (imf23.hostedemail.com: domain of BATV+56c964bc8172c8a9ee6e+7477+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+56c964bc8172c8a9ee6e+7477+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=1707722043; 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=ytoz/KPvEi5RmjUfqJxVzxJSQTve+3RqSdhmEKjps94RP8U4ArpXmheppanD8VHPcf0TvY 5c0/NeCGxzPhDYNPXnvpsWwBWxoFpqOQ5BIDPJI96w0W0vw9Ec+OppUiQO1XoSCufout8K klma8LpUzcfQ+AQXJejlr6QU/3V8oVQ= ARC-Authentication-Results: i=1; imf23.hostedemail.com; dkim=pass header.d=infradead.org header.s=bombadil.20210309 header.b="lhWVSV/4"; dmarc=none; spf=none (imf23.hostedemail.com: domain of BATV+56c964bc8172c8a9ee6e+7477+infradead.org+hch@bombadil.srs.infradead.org has no SPF policy when checking 198.137.202.133) smtp.mailfrom=BATV+56c964bc8172c8a9ee6e+7477+infradead.org+hch@bombadil.srs.infradead.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1707722043; a=rsa-sha256; cv=none; b=zbVnDGnYv/yc3nT7VswVpMZdOlwwf5nvyXEuvl5b33B/OSoGkbmwgNv5ZWckSL58EJYU65 bWfYHatgEPnQwYgMUy9cC3/ZyAzhsNw7H+1tnQqEyWrbCW7bLObTP/MmZB4TZ3BUo/RAYf yt8/pAIy+vWY6FKvWeYeN8wLVl3f6a4= 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=lhWVSV/4NJ4gJRcE/4QSmGNsRr Heu4UlhYcFVsZC14064f5jmUtC5kEA1lwOPdwrtQf/Bd7PJ5yNt6me07tldTSZffNrXe9k9NZy+5B Q9u+5SQ1ktlUZn5sZQ8fUhl2Vnbn0E+3wvmBv13JFwaQXgdvnYDwIzTGHIinQdW+iQtDq8jmJTTrz g3wzeNkmBYPbwoft5gs6t2NdV9u2q9PCKcYUZVS3UVElrQHEBVTvNFaSYRv0dndWcI5M47ywQfpbR LDsxxgMQmNqqi/ArS94YpOJDoT+J02951fSMYJiE3fyr8JXxC0wQeiCpo3cdaZ3zkymXgD/xDHVRr BnWZab8w==; Received: from [2001:4bb8:190:6eab:75e9:7295:a6e3:c35d] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZQVt-00000004SoV-3u3n; Mon, 12 Feb 2024 07:14:02 +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: Mon, 12 Feb 2024 08:13:36 +0100 Message-Id: <20240212071348.1369918-3-hch@lst.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240212071348.1369918-1-hch@lst.de> References: <20240212071348.1369918-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-Queue-Id: 9EBBA140003 X-Rspam-User: X-Rspamd-Server: rspam04 X-Stat-Signature: ud4db79g5ywu8nk1drd9dxxewk14or4c X-HE-Tag: 1707722043-380140 X-HE-Meta: U2FsdGVkX18B9L23Q21l/kEDEZ20lWhUdYJa2VO2q0pR6RiNF9CsLyDLNdMKY1td3taN5w1f0NVoUfn44qKCBZ710D17OnSW34z23OZmB4fA6mJTJJ6B/H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49B13rUlYBL45TSPOfAzNgR1/ymXUoVivKHO9ub9yHEA+4uxe54PnW6BxHNUZBaC0L+atK6RwO+84lKID5zJkiSr/62szuEriC0NiRrJZomm9KWGTSlV+LtZ8lQHucgRSJvZqV7Rtn5yUt6KAXbYQ5sDbHNXpPkOWwvfyBNk5hn1uaiHEYqHRu3q+Ma7Y5FQwiLBg1YAFOTpIZqS7M9jmr/Nng7NTbv3dyVJq4yZlE+QK7esQziEC4RkQ0uvlcq/HXzN9kDiKNXAS2Y4dI3ejUpVhzfUxJfAKcrVcC88Y010B3vLYT3HZtpqNE71v 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);