f2fs: attach inline_data after setting compression
stable inclusion from stable-v5.10.127 commit 4b6cdcff7cb8b9324a7fb2cb4460f523b9d4674d category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5XDDK Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4b6cdcff7cb8b9324a7fb2cb4460f523b9d4674d -------------------------------- commit 4cde00d5 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: 677a82b4 ("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:
Zheng Zengkai <zhengzengkai@huawei.com> Reviewed-by:
Wei Li <liwei391@huawei.com>
Loading
Please sign in to comment