aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2010-01-13 17:05:48 -0500
committerAlex Elder <aelder@sgi.com>2010-01-21 14:44:10 -0500
commit512dd1abd9539a474f2792eeaf6783c59ad7778a (patch)
tree24508eb59f5786131abf0c3e2bca4a1e125bdd69 /fs
parent587aa0feb74ffe3239b5e26ff5d017ba9f5daec9 (diff)
xfs: kill XFS_QMOPT_ASYNC
The option is unused and one of the few remaining users of xfs_bawrite, so let's get rid of it. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/quota/xfs_dquot.c2
-rw-r--r--fs/xfs/xfs_quota.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/fs/xfs/quota/xfs_dquot.c b/fs/xfs/quota/xfs_dquot.c
index d7c7eea09fc2..a447493690eb 100644
--- a/fs/xfs/quota/xfs_dquot.c
+++ b/fs/xfs/quota/xfs_dquot.c
@@ -1253,8 +1253,6 @@ xfs_qm_dqflush(
1253 1253
1254 if (flags & XFS_QMOPT_DELWRI) { 1254 if (flags & XFS_QMOPT_DELWRI) {
1255 xfs_bdwrite(mp, bp); 1255 xfs_bdwrite(mp, bp);
1256 } else if (flags & XFS_QMOPT_ASYNC) {
1257 error = xfs_bawrite(mp, bp);
1258 } else { 1256 } else {
1259 error = xfs_bwrite(mp, bp); 1257 error = xfs_bwrite(mp, bp);
1260 } 1258 }
diff --git a/fs/xfs/xfs_quota.h b/fs/xfs/xfs_quota.h
index 91bfd60f4c74..21d11d9f48f2 100644
--- a/fs/xfs/xfs_quota.h
+++ b/fs/xfs/xfs_quota.h
@@ -226,7 +226,6 @@ typedef struct xfs_qoff_logformat {
226 * flags for dqflush and dqflush_all. 226 * flags for dqflush and dqflush_all.
227 */ 227 */
228#define XFS_QMOPT_SYNC 0x1000000 228#define XFS_QMOPT_SYNC 0x1000000
229#define XFS_QMOPT_ASYNC 0x2000000
230#define XFS_QMOPT_DELWRI 0x4000000 229#define XFS_QMOPT_DELWRI 0x4000000
231 230
232/* 231/*