Commit df5c69dc authored by Darrick J. Wong's avatar Darrick J. Wong Committed by Zheng Zengkai
Browse files

xfs: clean up inode state flag tests in xfs_blockgc_igrab

mainline-inclusion
from mainline-v5.13-rc4
commit d20d5edc
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I4KIAO
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d20d5edcf941e70e03cdbda2f8df93e3969c31a2



-------------------------------------------------

Clean up the definition of which inode states are not eligible for
speculative preallocation garbage collecting by creating a private
the set of flags-to-ignore, so we want the definition not to end up a
cluttered mess.

Signed-off-by: default avatarDarrick J. Wong <djwong@kernel.org>
Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
Signed-off-by: default avatarLihong Kou <koulihong@huawei.com>
Reviewed-by: default avatarZhang Yi <yi.zhang@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 05e7b203
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment