diff options
author | Dave Chinner <david@fromorbit.com> | 2010-02-03 17:48:58 -0500 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2010-02-03 17:48:58 -0500 |
commit | 20026d92013d7bb3abb295337191def6758fc086 (patch) | |
tree | 7cacdf4b14799534f9907833bd28500cb739a823 /fs/xfs/xfs_quota.h | |
parent | 7d6a7bde52e449f21a0e86a7a4955b4e08a49d69 (diff) |
xfs: kill the unused XFS_QMOPT_* flush flags V2
dquots are never flushed asynchronously. Remove the flag and the
async write support from the flush function. Make the default flush
a delwri flush to make the inode flush code, which leaves the
XFS_QMOPT_SYNC the only flag remaining. Convert that to use
SYNC_WAIT instead, just like the inode flush code.
V2:
- just pass flush flags straight through
Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_quota.h')
-rw-r--r-- | fs/xfs/xfs_quota.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/fs/xfs/xfs_quota.h b/fs/xfs/xfs_quota.h index 21d11d9f48f2..fdcab3f81dde 100644 --- a/fs/xfs/xfs_quota.h +++ b/fs/xfs/xfs_quota.h | |||
@@ -223,15 +223,9 @@ typedef struct xfs_qoff_logformat { | |||
223 | #define XFS_QMOPT_RES_INOS 0x0800000 | 223 | #define XFS_QMOPT_RES_INOS 0x0800000 |
224 | 224 | ||
225 | /* | 225 | /* |
226 | * flags for dqflush and dqflush_all. | ||
227 | */ | ||
228 | #define XFS_QMOPT_SYNC 0x1000000 | ||
229 | #define XFS_QMOPT_DELWRI 0x4000000 | ||
230 | |||
231 | /* | ||
232 | * flags for dqalloc. | 226 | * flags for dqalloc. |
233 | */ | 227 | */ |
234 | #define XFS_QMOPT_INHERIT 0x8000000 | 228 | #define XFS_QMOPT_INHERIT 0x1000000 |
235 | 229 | ||
236 | /* | 230 | /* |
237 | * flags to xfs_trans_mod_dquot. | 231 | * flags to xfs_trans_mod_dquot. |