[PATCH openEuler-5.10-LTS-SP1 09/33] xfs: replace XFS_IFORK_Q with a proper predicate function