summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_icache.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-11-12 17:22:54 +0100
committerDarrick J. Wong <darrick.wong@oracle.com>2019-11-13 20:13:45 +0100
commitde7a866fd41b227b0aa6e9cbeb0dae221c12f542 (patch)
tree18c04e1cce8bc4f8d96d9e6ef3491a150b3ea886 /fs/xfs/xfs_icache.c
parentxfs: use a struct timespec64 for the in-core crtime (diff)
downloadlinux-de7a866fd41b227b0aa6e9cbeb0dae221c12f542.tar.xz
linux-de7a866fd41b227b0aa6e9cbeb0dae221c12f542.zip
xfs: merge the projid fields in struct xfs_icdinode
There is no point in splitting the fields like this in an purely in-memory structure. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_icache.c')
-rw-r--r--fs/xfs/xfs_icache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/xfs_icache.c b/fs/xfs/xfs_icache.c
index 944add5ff8e0..ec302b7e48f3 100644
--- a/fs/xfs/xfs_icache.c
+++ b/fs/xfs/xfs_icache.c
@@ -1419,7 +1419,7 @@ xfs_inode_match_id(
return 0;
if ((eofb->eof_flags & XFS_EOF_FLAGS_PRID) &&
- xfs_get_projid(ip) != eofb->eof_prid)
+ ip->i_d.di_projid != eofb->eof_prid)
return 0;
return 1;
@@ -1443,7 +1443,7 @@ xfs_inode_match_id_union(
return 1;
if ((eofb->eof_flags & XFS_EOF_FLAGS_PRID) &&
- xfs_get_projid(ip) == eofb->eof_prid)
+ ip->i_d.di_projid == eofb->eof_prid)
return 1;
return 0;