kernel_samsung_a53x/fs/f2fs
Chao Yu b7e3b7ad76 f2fs: compress: fix to relocate check condition in f2fs_{release,reserve}_compress_blocks()
[ Upstream commit 7c5dffb3d90c5921b91981cc663e02757d90526e ]

Compress flag should be checked after inode lock held to avoid
racing w/ f2fs_setflags_common(), fix it.

Fixes: 4c8ff7095bef ("f2fs: support data compression")
Reported-by: Zhiguo Niu <zhiguo.niu@unisoc.com>
Closes: https://lore.kernel.org/linux-f2fs-devel/CAHJ8P3LdZXLc2rqeYjvymgYHr2+YLuJ0sLG9DdsJZmwO7deuhw@mail.gmail.com
Signed-off-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 12:27:02 +01:00
..
acl.c
acl.h
checkpoint.c
compress.c f2fs: compress: remove unneeded preallocation 2024-11-19 12:27:02 +01:00
data.c
debug.c
dir.c
extent_cache.c
f2fs.h
file.c f2fs: compress: fix to relocate check condition in f2fs_{release,reserve}_compress_blocks() 2024-11-19 12:27:02 +01:00
gc.c
gc.h
hash.c
inline.c
inode.c
Kconfig
Makefile
namei.c f2fs: fix to avoid dirent corruption 2024-11-18 12:12:39 +01:00
node.c
node.h
recovery.c f2fs: fix write pointers on zoned device after roll forward 2024-11-18 12:13:17 +01:00
segment.c
segment.h
shrinker.c
super.c
sysfs.c
verity.c
xattr.c f2fs: explicitly null-terminate the xattr list 2024-11-18 12:12:11 +01:00
xattr.h