Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2051719lqa; Tue, 30 Apr 2024 07:08:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVK4sDxLlaNmjFbzCXGACrOWBuZmLos6p71kS4P0zhuV2pvsSEFddzVV/GZlkKYPCuQ/GMMpKGfPkXAX33ZNh1E+5dCJrMA9OT6FUMCxw== X-Google-Smtp-Source: AGHT+IHmxUFDtCyjpKz5xaC9g1C6r1/Dznoq28Z78DABthQi3MbXRt3Ebgltk6zBIIVwGONE59VT X-Received: by 2002:a17:906:57c2:b0:a55:4378:9891 with SMTP id u2-20020a17090657c200b00a5543789891mr7272942ejr.24.1714486102220; Tue, 30 Apr 2024 07:08:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714486102; cv=pass; d=google.com; s=arc-20160816; b=I/7IAZrZN6o/6EMq4CPsWMpgneF6Aq4DFvxSsxwySEEnBQhozYDB/MO9CrPa5cmix1 g+lTnGoid/w2MdcH46/bQfCNQCYvzMpqm4INQ/bj0hFEYC8NUUc2KohfispLWfTQmZOG KI2H3kR3J/3/bi2+bsJpiHokkGv/QKgoqc699Tq0WZ8WZkmZic7aYjooI5eR69ncxccU VaIg94FHWqcAOAZOaEEwxjOFwAeO/gVWUMwRDU80jsuu+ZttaKwE8zMIa2DwrB+3W8rY jFxg8qbxGUiHAAGTquf88fKdDfW1eCgLkLAzWSe9qGi5lhLdjtDw9DRbzwFiGbylkBJX DFxw== ARC-Message-Signature: i=2; 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=kjFRfxxSIhn/sZySlzA+YPg8ujVk0zbXsyNAbtLG88o=; fh=Wm1tdfrfu9MgvOCT7w7TPWe8kwc1eeFUskHngePaTyc=; b=ViAfjxCfNwB4Nqg9BWkt+sIcdLqpl5xOlTDzk/VGSKJhc9bv8yl42hyEIcnq9+6gAG YH+YGq41YjpDZKxO/0GilYiYCYcoot1eiJqEO0ukbbBElSdoCr5cBDvnFyYzo2nWKKpR qJY2tqexQU3IdGcLymV/zfpcWDjz/QQ3d2RnklCik0ZEyUgmcm0gAMotsPJVqTf+j6hn Vs1HXZCB+T60LUWgsZ5WW+lJ7b+Ut8P+Y0G/bH4n17GoUSWoU3lQYHhE9rd5m8+H6Fhf xNojyIwti7OJ1Nn7uq9U9n+dtnXBB+6Pi3jlzjEaZJEvhvwajtm+hbgfyJhKJX9umxVD kLUA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WRmTiO5X; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-164065-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164065-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id h4-20020a170906590400b00a5554e96232si15334734ejq.618.2024.04.30.07.08.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 07:08:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164065-linux.lists.archive=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=@redhat.com header.s=mimecast20190719 header.b=WRmTiO5X; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-164065-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164065-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com 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 C48961F221ED for ; Tue, 30 Apr 2024 14:08:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 85D3B199E92; Tue, 30 Apr 2024 14:02:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="WRmTiO5X" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 67FF1199E80 for ; Tue, 30 Apr 2024 14:02:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714485733; cv=none; b=HhTri34jEujgfWaJVwBw58jMh2idEszusq6glke4jiJunbyTbQpKcxrbKIfLZq52ysCdiM8hPD+/K6NI+PtW4vS13+i/b64O5vAu5OfvC2G7852xA8uFAoff1za9X5YGV/MppaAvi8GnpHCVkhC2mSuYuPvP/L7IwYPU90f4ebc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714485733; c=relaxed/simple; bh=b31u1bZv47KcpUE2YEcbeJ9EX9O+/YAoXgPL9zxJe9E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Kv29Z6tO6XEtYokIlDzfuGXntoWfPdvwxMUmABC/A69SYnp9lUg33oQ7qi8Z+IgR5ssqEEZAIkismOBKp5Vb9k7Y9a6hFwyL2tgdr6iPcIfHg7GCwPIcTDNJgLkuU1iKTsKnduIfOcn7+TPrqU3OqqoJpUxuYtvs3iKFEbsQNDM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=WRmTiO5X; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1714485731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kjFRfxxSIhn/sZySlzA+YPg8ujVk0zbXsyNAbtLG88o=; b=WRmTiO5XOrVbdJe3hyVSWzSmUbxUlvxgPBPPyrDFn55MD/gZsit8rlBNcFUaLj+T56GbvX x/tmeX0bnGp9JaqwcsSceqbN0sCTqgJuRqWnDK0c5dYMF9dvVm2H7P6X+n4jAOzJPpm5lz h7ODe2oCiyKkFW60wLnt2Z2ImyEblbc= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-78-ESWFmT24OQqLiwHsx02-fA-1; Tue, 30 Apr 2024 10:02:03 -0400 X-MC-Unique: ESWFmT24OQqLiwHsx02-fA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9306E834FBF; Tue, 30 Apr 2024 14:01:55 +0000 (UTC) Received: from warthog.procyon.org.com (unknown [10.42.28.22]) by smtp.corp.redhat.com (Postfix) with ESMTP id CD5441C0654E; Tue, 30 Apr 2024 14:01:48 +0000 (UTC) From: David Howells To: Christian Brauner , Jeff Layton , Gao Xiang , Dominique Martinet Cc: David Howells , Matthew Wilcox , Steve French , Marc Dionne , Paulo Alcantara , Shyam Prasad N , Tom Talpey , Eric Van Hensbergen , Ilya Dryomov , netfs@lists.linux.dev, linux-cachefs@redhat.com, linux-afs@lists.infradead.org, linux-cifs@vger.kernel.org, linux-nfs@vger.kernel.org, ceph-devel@vger.kernel.org, v9fs@lists.linux.dev, linux-erofs@lists.ozlabs.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Christoph Hellwig Subject: [PATCH v2 12/22] mm: Export writeback_iter() Date: Tue, 30 Apr 2024 15:00:43 +0100 Message-ID: <20240430140056.261997-13-dhowells@redhat.com> In-Reply-To: <20240430140056.261997-1-dhowells@redhat.com> References: <20240430140056.261997-1-dhowells@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7 Export writeback_iter() so that it can be used by netfslib as a module. Signed-off-by: David Howells Reviewed-by: Jeff Layton cc: Matthew Wilcox (Oracle) cc: Christoph Hellwig cc: linux-mm@kvack.org --- Notes: Changes ======= ver #2) - Mark the symbol _GPL. mm/page-writeback.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mm/page-writeback.c b/mm/page-writeback.c index 3e19b87049db..06fc89d981e8 100644 --- a/mm/page-writeback.c +++ b/mm/page-writeback.c @@ -2546,6 +2546,7 @@ struct folio *writeback_iter(struct address_space *mapping, folio_batch_release(&wbc->fbatch); return NULL; } +EXPORT_SYMBOL_GPL(writeback_iter); /** * write_cache_pages - walk the list of dirty pages of the given address space and write all of them.