Re: [PATCH] fs: assert on ->i_count in iput_final()
From: Christian Brauner
Date: Mon Oct 06 2025 - 07:36:59 EST
On Wed, 01 Oct 2025 03:00:10 +0200, Mateusz Guzik wrote:
> Notably make sure the count is 0 after the return from ->drop_inode(),
> provided we are going to drop.
>
> Inspired by suspicious games played by f2fs.
>
>
Applied to the vfs-6.19.inode branch of the vfs/vfs.git tree.
Patches in the vfs-6.19.inode branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-6.19.inode
[1/1] fs: assert on ->i_count in iput_final()
https://git.kernel.org/vfs/vfs/c/655c4a4f00fc