mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 22:21:21 +00:00
xfs: introduce refcount btree definitions
Add new per-AG refcount btree definitions to the per-AG structures. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
c75c752d03
commit
46eeb521b9
11 changed files with 93 additions and 10 deletions
|
@ -202,6 +202,11 @@ xfs_get_initial_prid(struct xfs_inode *dp)
|
|||
return XFS_PROJID_DEFAULT;
|
||||
}
|
||||
|
||||
static inline bool xfs_is_reflink_inode(struct xfs_inode *ip)
|
||||
{
|
||||
return ip->i_d.di_flags2 & XFS_DIFLAG2_REFLINK;
|
||||
}
|
||||
|
||||
/*
|
||||
* In-core inode flags.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue