xfs: XFS_MOUNT_QUOTA_ALL needed by userspace
authorDave Chinner <dchinner@redhat.com>
Fri, 30 Aug 2013 06:21:21 +0000 (16:21 +1000)
committerBen Myers <bpm@sgi.com>
Tue, 3 Sep 2013 20:00:06 +0000 (15:00 -0500)
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>
fs/xfs/xfs_log_format.h
fs/xfs/xfs_quota.h

index a49ab2c1e7aa06a03c0e69360417a1c25cdc3bfe..31e3a06c4644d22a93c404b2159db0944fd2a5a7 100644 (file)
@@ -821,6 +821,12 @@ typedef struct xfs_qoff_logformat {
 #define XFS_ALL_QUOTA_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
  *
index 66522da04d6e82f46c04800ec968ad2453e37349..e7d84d2d86830a25a5cd9778521766d4a592c45b 100644 (file)
@@ -48,13 +48,6 @@ struct xfs_trans;
         (XFS_IS_PQUOTA_ON(mp) && \
                (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
  * within a transaction and apply them later.