linux/fs/f2fs
Daeho Jeong 102b82708c f2fs: synchronize atomic write aborts
[ Upstream commit a46bebd502 ]

To fix a race condition between atomic write aborts, I use the inode
lock and make COW inode to be re-usable thoroughout the whole
atomic file inode lifetime.

Reported-by: syzbot+823000d23b3400619f7c@syzkaller.appspotmail.com
Fixes: 3db1de0e58 ("f2fs: change the current atomic write way")
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 13:55:23 +01:00
..
acl.c
acl.h
checkpoint.c
compress.c
data.c f2fs: don't rely on F2FS_MAP_* in f2fs_iomap_begin 2023-03-11 13:55:16 +01:00
debug.c
dir.c
extent_cache.c
f2fs.h f2fs: correct i_size change for atomic writes 2023-03-11 13:55:18 +01:00
file.c f2fs: synchronize atomic write aborts 2023-03-11 13:55:23 +01:00
gc.c f2fs: fix to do sanity check on i_extra_isize in is_alive() 2023-02-09 11:28:27 +01:00
gc.h
hash.c
inline.c f2fs: fix information leak in f2fs_move_inline_dirents() 2023-03-10 09:34:08 +01:00
inode.c f2fs: synchronize atomic write aborts 2023-03-11 13:55:23 +01:00
iostat.c f2fs: fix to avoid potential memory corruption in __update_iostat_latency() 2023-03-11 13:55:21 +01:00
iostat.h
Kconfig
Makefile
namei.c
node.c
node.h
recovery.c
segment.c f2fs: synchronize atomic write aborts 2023-03-11 13:55:23 +01:00
segment.h
shrinker.c
super.c f2fs: synchronize atomic write aborts 2023-03-11 13:55:23 +01:00
sysfs.c
verity.c fs: f2fs: initialize fsdata in pagecache_write() 2023-03-11 13:55:18 +01:00
xattr.c
xattr.h