Commit 8112e9dc authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Alex Elder
Browse files

xfs: removed unused XFS_QMOPT_ flags


Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarDave Chinner <david@fromorbit.com>
parent 191f8488
...@@ -321,7 +321,7 @@ xfs_qm_unmount( ...@@ -321,7 +321,7 @@ xfs_qm_unmount(
struct xfs_mount *mp) struct xfs_mount *mp)
{ {
if (mp->m_quotainfo) { if (mp->m_quotainfo) {
xfs_qm_dqpurge_all(mp, XFS_QMOPT_QUOTALL | XFS_QMOPT_UMOUNTING); xfs_qm_dqpurge_all(mp, XFS_QMOPT_QUOTALL);
xfs_qm_destroy_quotainfo(mp); xfs_qm_destroy_quotainfo(mp);
} }
} }
...@@ -1825,7 +1825,7 @@ xfs_qm_quotacheck( ...@@ -1825,7 +1825,7 @@ xfs_qm_quotacheck(
* at this point (because we intentionally didn't in dqget_noattach). * at this point (because we intentionally didn't in dqget_noattach).
*/ */
if (error) { if (error) {
xfs_qm_dqpurge_all(mp, XFS_QMOPT_QUOTALL | XFS_QMOPT_QUOTAOFF); xfs_qm_dqpurge_all(mp, XFS_QMOPT_QUOTALL);
goto error_return; goto error_return;
} }
......
...@@ -200,7 +200,7 @@ xfs_qm_scall_quotaoff( ...@@ -200,7 +200,7 @@ xfs_qm_scall_quotaoff(
* So, if we couldn't purge all the dquots from the filesystem, * So, if we couldn't purge all the dquots from the filesystem,
* we can't get rid of the incore data structures. * we can't get rid of the incore data structures.
*/ */
while ((nculprits = xfs_qm_dqpurge_all(mp, dqtype|XFS_QMOPT_QUOTAOFF))) while ((nculprits = xfs_qm_dqpurge_all(mp, dqtype)))
delay(10 * nculprits); delay(10 * nculprits);
/* /*
......
...@@ -201,9 +201,6 @@ typedef struct xfs_qoff_logformat { ...@@ -201,9 +201,6 @@ typedef struct xfs_qoff_logformat {
#define XFS_QMOPT_FORCE_RES 0x0000010 /* ignore quota limits */ #define XFS_QMOPT_FORCE_RES 0x0000010 /* ignore quota limits */
#define XFS_QMOPT_DQSUSER 0x0000020 /* don't cache super users dquot */ #define XFS_QMOPT_DQSUSER 0x0000020 /* don't cache super users dquot */
#define XFS_QMOPT_SBVERSION 0x0000040 /* change superblock version num */ #define XFS_QMOPT_SBVERSION 0x0000040 /* change superblock version num */
#define XFS_QMOPT_QUOTAOFF 0x0000080 /* quotas are being turned off */
#define XFS_QMOPT_UMOUNTING 0x0000100 /* filesys is being unmounted */
#define XFS_QMOPT_DOLOG 0x0000200 /* log buf changes (in quotacheck) */
#define XFS_QMOPT_DOWARN 0x0000400 /* increase warning cnt if needed */ #define XFS_QMOPT_DOWARN 0x0000400 /* increase warning cnt if needed */
#define XFS_QMOPT_DQREPAIR 0x0001000 /* repair dquot if damaged */ #define XFS_QMOPT_DQREPAIR 0x0001000 /* repair dquot if damaged */
#define XFS_QMOPT_GQUOTA 0x0002000 /* group dquot requested */ #define XFS_QMOPT_GQUOTA 0x0002000 /* group dquot requested */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment