xfs: Replace macro XFS_DQUOT_TREE with a function
authorChandra Seetharaman <sekharan@us.ibm.com>
Thu, 27 Jun 2013 22:25:05 +0000 (17:25 -0500)
committerBen Myers <bpm@sgi.com>
Fri, 28 Jun 2013 18:05:07 +0000 (13:05 -0500)
commit329e0875286984df9053d410df83f839f85bea6e
tree57c6d534e9c41e98aaa36364943dc9a93d1ceba9
parent9cad19d2cb57a2c32887a303b516d74254aa4b1c
xfs: Replace macro XFS_DQUOT_TREE 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>
fs/xfs/xfs_dquot.c
fs/xfs/xfs_qm.c
fs/xfs/xfs_qm.h