diff options
author | Chandra Seetharaman <sekharan@us.ibm.com> | 2012-01-23 18:31:43 +0100 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2012-02-03 18:32:20 +0100 |
commit | 4177af3a8a6f119484c7903845c6693d7381c13e (patch) | |
tree | 3d5c5179e0c11bfc85d84a62f6bfabec6632bf9c /fs/xfs/xfs_quota.h | |
parent | Change xfs_sb_from_disk() interface to take a mount pointer (diff) | |
download | linux-4177af3a8a6f119484c7903845c6693d7381c13e.tar.xz linux-4177af3a8a6f119484c7903845c6693d7381c13e.zip |
Define new macro XFS_ALL_QUOTA_ACTIVE and simply some usage
Define new macro XFS_ALL_QUOTA_ACTIVE and simply some usage
of quota macros.
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_quota.h')
-rw-r--r-- | fs/xfs/xfs_quota.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_quota.h b/fs/xfs/xfs_quota.h index 8a0807e0f979..b50ec5b95d5a 100644 --- a/fs/xfs/xfs_quota.h +++ b/fs/xfs/xfs_quota.h @@ -174,6 +174,8 @@ typedef struct xfs_qoff_logformat { #define XFS_UQUOTA_ACTIVE 0x0100 /* uquotas are being turned off */ #define XFS_PQUOTA_ACTIVE 0x0200 /* pquotas are being turned off */ #define XFS_GQUOTA_ACTIVE 0x0400 /* gquotas are being turned off */ +#define XFS_ALL_QUOTA_ACTIVE \ + (XFS_UQUOTA_ACTIVE | XFS_PQUOTA_ACTIVE | XFS_GQUOTA_ACTIVE) /* * Checking XFS_IS_*QUOTA_ON() while holding any inode lock guarantees |