diff options
author | Chandra Seetharaman <sekharan@us.ibm.com> | 2013-06-28 00:25:06 +0200 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-06-28 20:12:42 +0200 |
commit | 995961c4510460d9eef9b5ae46789aa2315545fe (patch) | |
tree | e568432e04df69b349d92ca79fe316cfe79291cb /fs/xfs/xfs_dquot.c | |
parent | xfs: Replace macro XFS_DQUOT_TREE with a function (diff) | |
download | linux-995961c4510460d9eef9b5ae46789aa2315545fe.tar.xz linux-995961c4510460d9eef9b5ae46789aa2315545fe.zip |
xfs: Replace macro XFS_DQ_TO_QIP with a function
In preparation for combined pquota/gquota support, for the sake
of readability, change the macro to an inline function.
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_dquot.c')
-rw-r--r-- | fs/xfs/xfs_dquot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_dquot.c b/fs/xfs/xfs_dquot.c index 09af322653a2..7d184dead99a 100644 --- a/fs/xfs/xfs_dquot.c +++ b/fs/xfs/xfs_dquot.c @@ -573,7 +573,7 @@ xfs_qm_dqtobp( xfs_bmbt_irec_t map; int nmaps = 1, error; xfs_buf_t *bp; - xfs_inode_t *quotip = XFS_DQ_TO_QIP(dqp); + struct xfs_inode *quotip = xfs_dq_to_quota_inode(dqp); xfs_mount_t *mp = dqp->q_mount; xfs_dqid_t id = be32_to_cpu(dqp->q_core.d_id); xfs_trans_t *tp = (tpp ? *tpp : NULL); |