]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
f2fs: drop inode from the donation list when the last file is closed
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 30 Dec 2025 16:15:26 +0000 (11:15 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:14:57 +0000 (10:14 +0100)
commit5796c5382101fe6205819732719161ce32d43604
treecd45da3b072144035c4dedba45953f8af788b8fe
parent1eb0b130196bcbc56c5c80c83139fa70c0aa82c5
f2fs: drop inode from the donation list when the last file is closed

[ Upstream commit 078cad8212ce4f4ebbafcc0936475b8215e1ca2a ]

Let's drop the inode from the donation list when there is no other
open file.

Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Stable-dep-of: 10b591e7fb7c ("f2fs: fix to avoid updating compression context during writeback")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/inode.c
fs/f2fs/super.c