f2fs: drop inode from the donation list when the last file is closed

[ Upstream commit 078cad8212 ]

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: 10b591e7fb ("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>
This commit is contained in:
Jaegeuk Kim 2025-12-30 11:15:26 -05:00 • committed by Greg Kroah-Hartman
commit 5796c53821
4 changed files with 11 additions and 2 deletions