]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
f2fs: drop inode from the donation list when the last file is closed
authorJaegeuk Kim <jaegeuk@kernel.org>
Mon, 28 Jul 2025 21:37:26 +0000 (21:37 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 30 Jul 2025 17:13:12 +0000 (17:13 +0000)
commit078cad8212ce4f4ebbafcc0936475b8215e1ca2a
treeff800cd222dc8a26eb4c6b03d44f52480a2482ad
parentc8705cefce44fbe85ca3b180dee0e0b5f3d51dc5
f2fs: drop inode from the donation list when the last file is closed

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>
fs/f2fs/f2fs.h
fs/f2fs/file.c
fs/f2fs/inode.c
fs/f2fs/super.c