]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
f2fs: don't keep meta inode pages used for compressed block migration
authorChao Yu <yuchao0@huawei.com>
Tue, 7 Jul 2020 01:35:41 +0000 (09:35 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 9 Jul 2020 05:28:34 +0000 (22:28 -0700)
commitaff6fbbe8e1b62af381f443291fd15fd16e17805
tree0460337bece8f0bc9d755fb718a2fdf4dca76e6c
parent9627a7b31f3c4ff8bc8f3be3683983ffe6eaebe6
f2fs: don't keep meta inode pages used for compressed block migration

meta inode's pages are used for encrypted, verity and compressed blocks,
so the meta inode's cache invalidation condition in do_checkpoint() should
consider compression as well, not just for verity and encryption, fix it.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c