aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/xfs/libxfs/xfs_inode_util.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-07-02 11:22:33 -0700
committerDarrick J. Wong <djwong@kernel.org>2024-07-02 11:36:56 -0700
commitfcea5b35f36233c04003ab8b3eb081b5e20e1aa4 (patch)
tree7e1201539401ddd579db627525641c687abbb5fa /fs/xfs/libxfs/xfs_inode_util.h
parentxfs: hoist inode flag conversion functions to libxfs (diff)
downloadwireguard-linux-fcea5b35f36233c04003ab8b3eb081b5e20e1aa4.tar.xz
wireguard-linux-fcea5b35f36233c04003ab8b3eb081b5e20e1aa4.zip
xfs: hoist project id get/set functions to libxfs
Move the project id get and set functions into libxfs. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/libxfs/xfs_inode_util.h')
-rw-r--r--fs/xfs/libxfs/xfs_inode_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/libxfs/xfs_inode_util.h b/fs/xfs/libxfs/xfs_inode_util.h
index 6ad1898a0f73..f7e4d5a8235d 100644
--- a/fs/xfs/libxfs/xfs_inode_util.h
+++ b/fs/xfs/libxfs/xfs_inode_util.h
@@ -11,4 +11,6 @@ uint64_t xfs_flags2diflags2(struct xfs_inode *ip, unsigned int xflags);
uint32_t xfs_dic2xflags(struct xfs_inode *ip);
uint32_t xfs_ip2xflags(struct xfs_inode *ip);
+prid_t xfs_get_initial_prid(struct xfs_inode *dp);
+
#endif /* __XFS_INODE_UTIL_H__ */