提交 1d03c6fa 编写于 作者: D Dave Chinner 提交者: Ben Myers

xfs: XFS_MOUNT_QUOTA_ALL needed by userspace

So move it to a header file shared with userspace.
Signed-off-by: NDave Chinner <dchinner@redhat.com>
Reviewed-by: NMark Tinguely <tinguely@sgi.com>
Signed-off-by: NBen Myers <bpm@sgi.com>
上级 50fc5f7a
...@@ -821,6 +821,12 @@ typedef struct xfs_qoff_logformat { ...@@ -821,6 +821,12 @@ typedef struct xfs_qoff_logformat {
#define XFS_ALL_QUOTA_CHKD \ #define XFS_ALL_QUOTA_CHKD \
(XFS_UQUOTA_CHKD | XFS_GQUOTA_CHKD | XFS_PQUOTA_CHKD) (XFS_UQUOTA_CHKD | XFS_GQUOTA_CHKD | XFS_PQUOTA_CHKD)
#define XFS_MOUNT_QUOTA_ALL (XFS_UQUOTA_ACCT|XFS_UQUOTA_ENFD|\
XFS_UQUOTA_CHKD|XFS_GQUOTA_ACCT|\
XFS_GQUOTA_ENFD|XFS_GQUOTA_CHKD|\
XFS_PQUOTA_ACCT|XFS_PQUOTA_ENFD|\
XFS_PQUOTA_CHKD)
/* /*
* Inode create log item structure * Inode create log item structure
* *
......
...@@ -48,13 +48,6 @@ struct xfs_trans; ...@@ -48,13 +48,6 @@ struct xfs_trans;
(XFS_IS_PQUOTA_ON(mp) && \ (XFS_IS_PQUOTA_ON(mp) && \
(mp->m_sb.sb_qflags & XFS_PQUOTA_CHKD) == 0)) (mp->m_sb.sb_qflags & XFS_PQUOTA_CHKD) == 0))
#define XFS_MOUNT_QUOTA_ALL (XFS_UQUOTA_ACCT|XFS_UQUOTA_ENFD|\
XFS_UQUOTA_CHKD|XFS_GQUOTA_ACCT|\
XFS_GQUOTA_ENFD|XFS_GQUOTA_CHKD|\
XFS_PQUOTA_ACCT|XFS_PQUOTA_ENFD|\
XFS_PQUOTA_CHKD)
/* /*
* The structure kept inside the xfs_trans_t keep track of dquot changes * The structure kept inside the xfs_trans_t keep track of dquot changes
* within a transaction and apply them later. * within a transaction and apply them later.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册