Define a new function xfs_this_quota_on()
authorChandra Seetharaman <sekharan@us.ibm.com>
Mon, 23 Jan 2012 17:31:25 +0000 (17:31 +0000)
committerBen Myers <bpm@sgi.com>
Fri, 3 Feb 2012 15:42:53 +0000 (09:42 -0600)
commit6967b964c1012231f338445f20f877e680cd4cb8
treebbf07cd6220f957eed9dead914f8603548c21fbb
parentb9957308452afcf58e656db834f44df10d7b1662
Define a new function xfs_this_quota_on()

Create a new function xfs_this_quota_on() that takes a xfs_mount
data structure and a disk quota type and returns true if the specified
type of quota is ON in the xfs_mount data structure.

Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_dquot.c
fs/xfs/xfs_dquot.h