mirror_ubuntu-kernels/fs/f2fs
Jaegeuk Kim 2497d4cf9d f2fs: attach inline_data after setting compression
BugLink: https://bugs.launchpad.net/bugs/1986718

commit 4cde00d507 upstream.

This fixes the below corruption.

[345393.335389] F2FS-fs (vdb): sanity_check_inode: inode (ino=6d0, mode=33206) should not have inline_data, run fsck to fix

Cc: <stable@vger.kernel.org>
Fixes: 677a82b44e ("f2fs: fix to do sanity check for inline inode")
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
2022-08-26 10:53:55 +02:00
..
acl.c
acl.h
checkpoint.c
compress.c
data.c
debug.c
dir.c
extent_cache.c
f2fs.h
file.c
gc.c
gc.h
hash.c
inline.c
inode.c
iostat.c
iostat.h
Kconfig
Makefile
namei.c
node.c
node.h
recovery.c
segment.c
segment.h
shrinker.c
super.c
sysfs.c
verity.c
xattr.c
xattr.h