summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs/xfs_inode_util.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2022-07-14 11:07:00 -0700
committerDarrick J. Wong <djwong@kernel.org>2022-11-09 19:07:45 -0800
commit3e498c39feeb472be45acf993e28ef32656d0c7d (patch)
treede5617cc779a28743e3eda4385537ad309f91d68 /fs/xfs/libxfs/xfs_inode_util.h
parenta32e95ffc3536773bf8229c87cde404b5d5f6177 (diff)
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>
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__ */