From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8E742606A322 for ; Thu, 3 Dec 2026 23:20:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lists.sourceforge.net header.i=@lists.sourceforge.net header.a=rsa-sha256 header.s=beta header.b=d7X9ekuo; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sourceforge.net header.i=@sourceforge.net header.a=rsa-sha256 header.s=x header.b=myXnp00Z; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sf.net header.i=@sf.net header.a=rsa-sha256 header.s=x header.b=TNmhTfyo; dkim=neutral header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=am7zhziz DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.sourceforge.net; s=beta; h=Content-Transfer-Encoding:Content-Type:Cc: Reply-To:From:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:Subject:To:In-Reply-To:References:Date:Message-Id: MIME-Version:Sender:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=kcisKJMaZXP2WkGAivruLE/9vnoWUkSPrXMmvKzfzfM=; b=d7X9ekuokx1wxn FvpBIvswF8DiAjBfCm6Cz6SwLQhYo0bxpwSjdixkJ/orcHdrg9KHjeVRxZ2vlp6DdBi/G8ZbRU9eK QHK7rF+y87OkT8ESualRUYrOJc6V82dqUO2MJG4uSS+5UHWq+IguvQYx5N4RWXTowSjIh8mUTYG7D iP8=; Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.100.1) (envelope-from ) id 1xZG6C-0000000073h-1Hhc; Thu, 03 Dec 2026 23:20:24 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.100.1) (envelope-from ) id 1xZG6A-0000000073V-0VJ0 for linux-f2fs-devel@lists.sourceforge.net; Thu, 03 Dec 2026 23:20:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Cc:To:In-Reply-To:References:Date:Message-Id:From: Subject:Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Unsubscribe-Post:List-Subscribe:List-Post:List-Owner:List-Archive; bh=AvOlj9jrMYyN9mJ4gvlzzNkGUR+9ftGgB7zSjhujna8=; b=myXnp00ZDfqSwLmVwqhGej7nS0 0mCgao02ER4jBKs9bV+iYbW0XEXhBVN+bBj9bT+qD6wuMv8zorhSMnNTU1uEwixjH0lmZgwz1BkFv 9KrUb/4YaN0SAAt+jXlmDC/KQWYmxh3nsGXbteQwpFnzgubetbfoS3rd3GHz5i+sKUas=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Cc:To:In-Reply-To:References:Date:Message-Id:From:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Unsubscribe-Post:List-Subscribe:List-Post:List-Owner:List-Archive; bh=AvOlj9jrMYyN9mJ4gvlzzNkGUR+9ftGgB7zSjhujna8=; b=TNmhTfyoNgUGg6HmBruKo12R2/ fniVMv/85Ve/VT9DAsRQBnfNKr1INiU06kkxo5yRmA/tdTkaPGXeMxWBIgHBZEOTADV20MOFeTwHU 31l8/061uRatWJc8cOWg3AxpVSPcWNc2zHh2pnZPLDcEH/DlSZZowRSEI320G0ywScG8=; Received: from sea.source.kernel.org ([172.234.252.31]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.100.1) id 1xZG69-000000007fS-2Io2 for linux-f2fs-devel@lists.sourceforge.net; Thu, 03 Dec 2026 23:20:22 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 40AE142E1D; Thu, 3 Dec 2026 23:20:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 254011F0093B; Thu, 3 Dec 2026 23:20:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796340016; bh=AvOlj9jrMYyN9mJ4gvlzzNkGUR+9ftGgB7zSjhujna8=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=am7zhzizXPfmS951as32C4I7iwJIxpWXLn8Ycz51RaA0OBhWA+aCGT5EAVGnyfl3e PFN+vLxDv8G9WbCkFXAO1Y7H2DItIiCWE8KwKgOBt+RdDI5EvqCpH0vmNaHallYDrD 3uzzTCVSPros24iICQKeM+yal0BzWfTqI6ZvnU7C8uKdLLnqMXVKfCKk080ALdjFlJ 6axksbk/SbYDcPb2m0NJq3Qg3IQhGVeznqG+UwcqCOqbiDTRUUjpXYf2aBL+Bc/+vJ LJ+0lFMoME4/6qcQuiPKKkUIZKUHHyQcSoVO4Xh68dt/DN4hioxvMiDGKp4yORAh36 7X1Xj2apVM5gQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 1C906391B141; Thu, 3 Dec 2026 23:20:16 +0000 (UTC) X-Archived-By: MIME-Version: 1.0 Message-Id: <179634001464.710291.9991043901048783305.git-patchwork-notify@kernel.org> Date: Thu, 03 Dec 2026 23:20:14 +0000 References: <20261114011734.3806377-1-daeho43@gmail.com> In-Reply-To: <20261114011734.3806377-1-daeho43@gmail.com> To: Daeho Jeong X-Spam-Score: 0.8 (/) X-Headers-End: 1xZG69-000000007fS-2Io2 Subject: Re: [f2fs-dev] [PATCH] f2fs: avoid underflow in get_available_block_count() X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , From: patchwork-bot+f2fs--- via Linux-f2fs-devel Reply-To: patchwork-bot+f2fs@kernel.org Cc: daehojeong@google.com, kernel-team@android.com, linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Fri, 13 Nov 2026 17:17:34 -0800 you wrote: > From: Daeho Jeong > > get_available_block_count() subtracts current_reserved_blocks, > alias_reserved_blocks and root_reserved_blocks from user_block_count > without checking the result. Only unusable_block_count is handled so > that the result does not go below 0. > > [...] Here is the summary with links: - [f2fs-dev] f2fs: avoid underflow in get_available_block_count() https://git.kernel.org/jaegeuk/f2fs/c/9d6bed44b6ed You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796340016; b=iHlWUNvzNG/+G8wdtcyDebZQmefyJOR2kkASwOoYgvC4OB5sblCorLbIOuDKbr+RnJut 9gQv32sQ9aEg7kzPwLOVy0qMnW12KOxYNeafNd1xVmV0RM0naIbHQJd2INx8HxFbfHcsX nk5trbhp0v8lL/Whl0wo2tB0HbtPjjInjPliooBJigmFsVdz9932zU46ETxKQzOLco1OE kLYJEIZL7xSAt4AS9tcvaMzzCVvnb1uL4yPrimOcKgH9kK3DtfrEDLnL6aNLa6dlHxaNr /jLzlcB5RE3Wmb5Ps32jO9RZKP0EsoZaQYrcjTR6MYxJiXMNkNCnO00RAHH+JI6ggnA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796340016; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=AvOlj9jrMYyN9mJ4gvlzzNkGUR+9ftGgB7zSjhujna8=; b=aCEl/bcoo3C45b9CCrlMVYK43EUfAOpb0drA6sK3o88szgDUqBVYUZ9Sja7GPeh4VI54 W1qV+87xTMYDglFQ8GdymJHock0Nb7t4J/lhqfEwtuIZT/EkEN5HiSOOj7OPvvz1wqhrG rTNpEX2+TfNu7DV6nSJ2aTYSM26xAEq73vwvucEmwZUqY7JY7pDOOuNaPlMppH9WxUvdZ 9a1c4eL9uCwGWY4NNlztFlcb77iIP8DhsiEJm/DLDdHdund2omfdoHOVP8jXZ0HwTDSVl EIFtTMSh43Tbp1YueR+tna4p1/kH5C3qfPK5gmg9Wn9EnzwB63FVmXf1tNSklQ+SCcQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=am7zhziz; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7D654606A685; Thu, 3 Dec 2026 23:20:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=am7zhziz Received: by smtp.kernel.org (Postfix) with ESMTPSA id 254011F0093B; Thu, 3 Dec 2026 23:20:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796340016; bh=AvOlj9jrMYyN9mJ4gvlzzNkGUR+9ftGgB7zSjhujna8=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=am7zhzizXPfmS951as32C4I7iwJIxpWXLn8Ycz51RaA0OBhWA+aCGT5EAVGnyfl3e PFN+vLxDv8G9WbCkFXAO1Y7H2DItIiCWE8KwKgOBt+RdDI5EvqCpH0vmNaHallYDrD 3uzzTCVSPros24iICQKeM+yal0BzWfTqI6ZvnU7C8uKdLLnqMXVKfCKk080ALdjFlJ 6axksbk/SbYDcPb2m0NJq3Qg3IQhGVeznqG+UwcqCOqbiDTRUUjpXYf2aBL+Bc/+vJ LJ+0lFMoME4/6qcQuiPKKkUIZKUHHyQcSoVO4Xh68dt/DN4hioxvMiDGKp4yORAh36 7X1Xj2apVM5gQ== Received: from [10.30.226.235] (localhost [IPv6:::1]) by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 1C906391B141; Thu, 3 Dec 2026 23:20:16 +0000 (UTC) Content-Type: text/plain; charset="utf-8" X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [f2fs-dev] [PATCH] f2fs: avoid underflow in get_available_block_count() From: patchwork-bot+f2fs@kernel.org Message-Id: <179634001464.710291.9991043901048783305.git-patchwork-notify@kernel.org> Date: Thu, 03 Dec 2026 23:20:14 +0000 References: <20261114011734.3806377-1-daeho43@gmail.com> In-Reply-To: <20261114011734.3806377-1-daeho43@gmail.com> To: Daeho Jeong Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com, daehojeong@google.com, stable@vger.kernel.org Hello: This patch was applied to jaegeuk/f2fs.git (dev) by Jaegeuk Kim : On Fri, 13 Nov 2026 17:17:34 -0800 you wrote: > From: Daeho Jeong > > get_available_block_count() subtracts current_reserved_blocks, > alias_reserved_blocks and root_reserved_blocks from user_block_count > without checking the result. Only unusable_block_count is handled so > that the result does not go below 0. > > [...] Here is the summary with links: - [f2fs-dev] f2fs: avoid underflow in get_available_block_count() https://git.kernel.org/jaegeuk/f2fs/c/9d6bed44b6ed You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html