xfs: add xfs_verify_agino_or_null helper
mainline inclusion from mainline-5.1-rc1 commit 7d36c195 category: bugfix bugzilla: NA CVE: NA https://gitee.com/openeuler/kernel/issues/I1CYGS?from=project-issue --------------------------- Add a new helper to check that a per-AG inode pointer is either null or points somewhere valid within that AG. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NBrian Foster <bfoster@redhat.com> Reviewed-by: NChristoph Hellwig <hch@lst.de> Signed-off-by: NYu Kuai <yukuai3@huawei.com> Reviewed-by: Nzhangyi (F) <yi.zhang@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录