xfs: move inode copy-on-write predicates to xfs_inode.[ch]
authorDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:22:31 +0000 (11:22 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 2 Jul 2024 18:36:55 +0000 (11:36 -0700)
commitd76e137057ae84e0ca1aac54a1f1ae7c0596c1cd
tree9699a4f996fc273e49911ab1f169b19511f95199
parent24a4e1cb322e2bf0f3a1afd1978b610a23aa8f36
xfs: move inode copy-on-write predicates to xfs_inode.[ch]

Move these inode predicate functions to xfs_inode.[ch] since they're not
reflink functions.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_reflink.h