xfs: match on the global RT inode numbers in xfs_is_metadata_inode
authorChristoph Hellwig <hch@lst.de>
Fri, 30 Aug 2024 22:36:49 +0000 (15:36 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Sun, 1 Sep 2024 15:58:19 +0000 (08:58 -0700)
commitfeb09b727b03421179282299362620ea0d07a066
treec4572f3e455e3a89b59e32e29cf5aa1de554a842
parent05aba1953f4a6e2b48e13c610e8a4545ba4ef509
xfs: match on the global RT inode numbers in xfs_is_metadata_inode

Match the inode number instead of the inode pointers, as the inode
pointers in the superblock will go away soon.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
[djwong: port to my tree, make the parameter a const pointer]
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_inode.h