From: patchwork-bot+f2fs@kernel.org
To: Chen Changcheng <chenchangcheng@kylinos.cn>
Cc: chao@kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net,
jaegeuk@kernel.org, ccc194101@163.com
Subject: Re: [f2fs-dev] [PATCH v3] f2fs: fix valid block count leak on data block allocation failure
Date: Wed, 05 Aug 2026 21:20:47 +0000 [thread overview]
Message-ID: <178596484763.530543.1976176179653312885.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260804005402.13026-1-chenchangcheng@kylinos.cn>
Hello:
This patch was applied to jaegeuk/f2fs.git (dev)
by Jaegeuk Kim <jaegeuk@kernel.org>:
On Tue, 4 Aug 2026 08:54:02 +0800 you wrote:
> In __allocate_data_block(), when allocating a new data block
> (dn->data_blkaddr == NULL_ADDR), inc_valid_block_count() is
> called first to increment total_valid_block_count and i_blocks.
> If the subsequent f2fs_allocate_data_block() fails, the function
> returns the error directly without rolling back the
> already-incremented block counts, causing a permanent leak.
>
> [...]
Here is the summary with links:
- [f2fs-dev,v3] f2fs: fix valid block count leak on data block allocation failure
https://git.kernel.org/jaegeuk/f2fs/c/0f9af07ecc1a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-08-05 21:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-22 0:54 [PATCH] f2fs: fix valid block count leak on data block allocation failure Chen Changcheng
2026-08-03 7:11 ` Chao Yu
2026-08-03 7:38 ` Chen Changcheng
2026-08-03 7:43 ` [PATCH v2] " Chen Changcheng
2026-08-04 0:08 ` Chao Yu
2026-08-04 0:54 ` [PATCH v3] " Chen Changcheng
2026-08-04 1:08 ` Chao Yu
2026-08-05 21:20 ` patchwork-bot+f2fs [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178596484763.530543.1976176179653312885.git-patchwork-notify@kernel.org \
--to=patchwork-bot+f2fs@kernel.org \
--cc=ccc194101@163.com \
--cc=chao@kernel.org \
--cc=chenchangcheng@kylinos.cn \
--cc=jaegeuk@kernel.org \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox