From nobody Mon Feb 9 00:25:51 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 CBAE28626C; Thu, 4 Apr 2024 12:34:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712234060; cv=none; b=br5bVmN7HXQysu/9tQHpAXHlRVRX8Cc06xiNOPCBDdtTMPoIVUmajNPeucsW9ZdQheym8zI/JI1ugj4iP0w8BDc+AFBK3DeVxJ2QVTZo7g/W8V5mAuBWiSGl9BvrPA5LEGaFU6Adb33ICGtJCr6XqnS9WjwKIi9jzyLlCzqriKc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712234060; c=relaxed/simple; bh=HM/5JA49Jt79PaOxisOklc2h4lFho/dJAQcXbp3RyLI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=W5tuH6U7hFgbGuz9azT1HZyxg1DHfps1clY3zvOEAC7jzBHLvMSD8CY8+PfUxsS2xToxX9EuKdHGOeUlshxnLzSEw5SXTIm8eQhnSxXoJRbqlmQvw0p4dIX+qPWG71B7/Vw9u5emKa6AgJ81fTkA6yJ/i/xG06bpFTfwIQ7BtNs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RITkEaZ+; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RITkEaZ+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C38EDC433C7; Thu, 4 Apr 2024 12:34:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712234059; bh=HM/5JA49Jt79PaOxisOklc2h4lFho/dJAQcXbp3RyLI=; h=From:To:Cc:Subject:Date:From; b=RITkEaZ+av4z3murfWN+pchh5Hm2HRy0uOM/NRGkQVyocOZiYCmE19z2gi+E+Xm9u EbsotRKFVqyzkhptj+gMiGWPhEl2tcyugDifM0URoNNOK8bSIkHYOa6TdyNb7SHm1W 2v/XQuiFdgTyy7/ZidugrvDZDiL3HNmW+OcUS/28lpJQsbdyOI0GJMLZmkYV40Eg0l wZeibRpr/+OLW9b6ork32UAWsZRsrGAtq/xhBULGsgFpxzb8GOCAa49oB4bzQ0+N8x hCWo+2nmlyTV2Hs3I3fj82apWbL/NYe/MRm92G4CSoF3FWXxXN9RUhEnxcv+1H4fXE deLsshhxljTTA== From: Arnd Bergmann To: David Howells Cc: Arnd Bergmann , Amir Goldstein , Jan Kara , Christian Brauner , Jens Axboe , netfs@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] netfs, cachefiles: include linux/bio.h for BIO_MAX_VECS Date: Thu, 4 Apr 2024 14:34:06 +0200 Message-Id: <20240404123414.2675384-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Arnd Bergmann The newly added code causes a build failure without this in some configurat= ions: fs/cachefiles/io.c: In function 'cachefiles_prepare_write_subreq': fs/cachefiles/io.c:633:31: error: 'BIO_MAX_VECS' undeclared (first use in t= his function); did you mean 'BIO_MAX_SECTORS'? 633 | subreq->max_nr_segs =3D BIO_MAX_VECS; | ^~~~~~~~~~~~ | BIO_MAX_SECTORS fs/cachefiles/io.c:633:31: note: each undeclared identifier is reported onl= y once for each function it appears in Fixes: 0d393b1a6699 ("netfs, cachefiles: Implement helpers for new write co= de") Signed-off-by: Arnd Bergmann --- fs/cachefiles/io.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/cachefiles/io.c b/fs/cachefiles/io.c index 437b24b0fd1c..cc5505d4ddaa 100644 --- a/fs/cachefiles/io.c +++ b/fs/cachefiles/io.c @@ -5,6 +5,7 @@ * Written by David Howells (dhowells@redhat.com) */ =20 +#include #include #include #include --=20 2.39.2