diff options
| author | Dave Chinner <dchinner@redhat.com> | 2013-08-30 02:21:21 -0400 |
|---|---|---|
| committer | Ben Myers <bpm@sgi.com> | 2013-09-03 16:00:06 -0400 |
| commit | 1d03c6fa88af35e55047a1f2ab116f0fdf2f55aa (patch) | |
| tree | 5defe8f84d958f4fa342f11aa4eb5fc4d1aca651 | |
| parent | 50fc5f7accfeaaaa1bba07725f26945cf8033bb7 (diff) | |
xfs: XFS_MOUNT_QUOTA_ALL needed by userspace
So move it to a header file shared with userspace.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
| -rw-r--r-- | fs/xfs/xfs_log_format.h | 6 | ||||
| -rw-r--r-- | fs/xfs/xfs_quota.h | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/fs/xfs/xfs_log_format.h b/fs/xfs/xfs_log_format.h index a49ab2c1e7aa..31e3a06c4644 100644 --- a/fs/xfs/xfs_log_format.h +++ b/fs/xfs/xfs_log_format.h | |||
| @@ -821,6 +821,12 @@ typedef struct xfs_qoff_logformat { | |||
| 821 | #define XFS_ALL_QUOTA_CHKD \ | 821 | #define XFS_ALL_QUOTA_CHKD \ |
| 822 | (XFS_UQUOTA_CHKD | XFS_GQUOTA_CHKD | XFS_PQUOTA_CHKD) | 822 | (XFS_UQUOTA_CHKD | XFS_GQUOTA_CHKD | XFS_PQUOTA_CHKD) |
| 823 | 823 | ||
| 824 | #define XFS_MOUNT_QUOTA_ALL (XFS_UQUOTA_ACCT|XFS_UQUOTA_ENFD|\ | ||
| 825 | XFS_UQUOTA_CHKD|XFS_GQUOTA_ACCT|\ | ||
| 826 | XFS_GQUOTA_ENFD|XFS_GQUOTA_CHKD|\ | ||
| 827 | XFS_PQUOTA_ACCT|XFS_PQUOTA_ENFD|\ | ||
| 828 | XFS_PQUOTA_CHKD) | ||
| 829 | |||
| 824 | /* | 830 | /* |
| 825 | * Inode create log item structure | 831 | * Inode create log item structure |
| 826 | * | 832 | * |
diff --git a/fs/xfs/xfs_quota.h b/fs/xfs/xfs_quota.h index 66522da04d6e..e7d84d2d8683 100644 --- a/fs/xfs/xfs_quota.h +++ b/fs/xfs/xfs_quota.h | |||
| @@ -48,13 +48,6 @@ struct xfs_trans; | |||
| 48 | (XFS_IS_PQUOTA_ON(mp) && \ | 48 | (XFS_IS_PQUOTA_ON(mp) && \ |
| 49 | (mp->m_sb.sb_qflags & XFS_PQUOTA_CHKD) == 0)) | 49 | (mp->m_sb.sb_qflags & XFS_PQUOTA_CHKD) == 0)) |
| 50 | 50 | ||
| 51 | #define XFS_MOUNT_QUOTA_ALL (XFS_UQUOTA_ACCT|XFS_UQUOTA_ENFD|\ | ||
| 52 | XFS_UQUOTA_CHKD|XFS_GQUOTA_ACCT|\ | ||
| 53 | XFS_GQUOTA_ENFD|XFS_GQUOTA_CHKD|\ | ||
| 54 | XFS_PQUOTA_ACCT|XFS_PQUOTA_ENFD|\ | ||
| 55 | XFS_PQUOTA_CHKD) | ||
| 56 | |||
| 57 | |||
| 58 | /* | 51 | /* |
| 59 | * The structure kept inside the xfs_trans_t keep track of dquot changes | 52 | * The structure kept inside the xfs_trans_t keep track of dquot changes |
| 60 | * within a transaction and apply them later. | 53 | * within a transaction and apply them later. |
