From patchwork Fri Dec 22 15:08:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 182692 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2483:b0:fb:cd0c:d3e with SMTP id q3csp1127492dyi; Fri, 22 Dec 2023 07:12:42 -0800 (PST) X-Google-Smtp-Source: AGHT+IGnTq0koJrZ3xnWQ2I+dEfB7IS2gbf4MuOvdtNc5/wt8pW90EMXEvfOBarbG+bDwJ2TsM46 X-Received: by 2002:a2e:9b4c:0:b0:2cb:2b6a:e168 with SMTP id o12-20020a2e9b4c000000b002cb2b6ae168mr711709ljj.9.1703257962545; Fri, 22 Dec 2023 07:12:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703257962; cv=none; d=google.com; s=arc-20160816; b=VmpXhugcNib2iBRaio8+AnXYupZxKvBK7ikSPoVyPjjnb+oSV5vyZFKyxKlaYPdTUo cx6wj+fHWIlOxrT3ldu68hD6W/nBjHhMZTXJ8cPIdVCcFgVZ7EDcZCBAiBoIhVSxmNT7 TQpQ+bUgRvNO8Lar9Nk7VxHfv9zpuUvUdVMpgP6/9cZPd1bnbOk6mgei0UyBSiWTq7QD J8+IkZ/3jU5DroBL6wQcFWX4Zymh23SecWNvsbrun4uq+HEJxgS0BIYg2MHEDlSuO/Py 3/M7rsYnCRU72cf+uM4Gn9j1KdTK8r02b5w5teiFJtloGRC3QFchmuHCUsnh19cSfbIP tj6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=C2vff2ZtkO5ymT4AwpEFr32HKz+HzpqwK8XI6XGgOh0=; fh=hzpEVxJ05G9gyZL9WVyKgOEGxITvmFSuTcKyr2ByStg=; b=WF7pHB7Sgx6jjDC1dp6yUr1h+uC81sPWgRniHx0un6bPhZZhEqm6Bj+QQfcbu2DAZ+ yKQ0F+eRrLLtAtBQwzmatpe3CWrFceCcNvFC32Fb7IpGhAlJ29VE0rLwjWdH5BsWIuAV ba9ppq4jHkaPNVMIILW3qfx2TeyW+u5lgiN/uWcawvne8xwbUK3P9HcHV+D5rGD2hni4 mjJi3iM0JYeB50BFWFEvHLFZshp0VGerLfu3W/n3KNZdczOCP3xJxUd9hOro23hBOGMA NBVFCKEvj61M8vAutP5ZCdrrxEw39asPdDW4jH+WvuO4ZhD6X/qNLqKc6rfynDtVPmrV 5N3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=e+k8f0nj; spf=pass (google.com: domain of linux-kernel+bounces-9818-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9818-ouuuleilei=gmail.com@vger.kernel.org" Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id w4-20020a056402268400b00554778c8c2esi72399edd.144.2023.12.22.07.12.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 07:12:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9818-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=e+k8f0nj; spf=pass (google.com: domain of linux-kernel+bounces-9818-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9818-ouuuleilei=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 1F0571F21D50 for ; Fri, 22 Dec 2023 15:10:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9FE102C1A8; Fri, 22 Dec 2023 15:08:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="e+k8f0nj" X-Original-To: linux-kernel@vger.kernel.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CC23E28E08; Fri, 22 Dec 2023 15:08:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org 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=C2vff2ZtkO5ymT4AwpEFr32HKz+HzpqwK8XI6XGgOh0=; b=e+k8f0njZ2ngt8JINzl1za1aVf AqLBYMRDqugK9fjHpoPbpRPF1/TsbUAE7Kfy64CrD2SeSgreU2Iyn580faBV0rYL0PUTKXxMeVfpo HUqRylBgNWtva7q42aOWQT6LUP6a/x9WqISQQrm1NVkRn5poiWf60Mf5wyANQ+squIwufjg/xdk+C TlDPW4CYPw3BK9kXfWumCK++9FtBRxmq2COpbt11zNiEl7ddJCP31czZVJ03312y/1xVlyxQTudaz xntQ4O6Y6XmU1m7AvmTu3f/OaPn8gbwT5rhHxelHYJBethKxbJ/bOJsh2ogp6H8Et73MtdKR6nRK/ Tuqyq/lw==; 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 1rGh8h-006BOe-2U; Fri, 22 Dec 2023 15:08:40 +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, Jan Kara , Dave Chinner Subject: [PATCH 05/17] writeback: remove a duplicate prototype for tag_pages_for_writeback Date: Fri, 22 Dec 2023 16:08:15 +0100 Message-Id: <20231222150827.1329938-6-hch@lst.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231222150827.1329938-1-hch@lst.de> References: <20231222150827.1329938-1-hch@lst.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1785995421760744527 X-GMAIL-MSGID: 1785995421760744527 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 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);