summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dquot.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_dquot.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_dquot.c')
-rw-r--r--fs/xfs/xfs_dquot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_dquot.c b/fs/xfs/xfs_dquot.c
index bcd4247b5014..091faaa5f8ba 100644
--- a/fs/xfs/xfs_dquot.c
+++ b/fs/xfs/xfs_dquot.c
@@ -833,7 +833,7 @@ xfs_qm_id_for_quotatype(
case XFS_DQ_GROUP:
return ip->i_d.di_gid;
case XFS_DQ_PROJ:
- return xfs_get_projid(ip);
+ return ip->i_d.di_projid;
}
ASSERT(0);
return 0;