xfs: kill XFS_QMOPT_ASYNC
authorChristoph Hellwig <hch@infradead.org>
Wed, 13 Jan 2010 22:05:48 +0000 (22:05 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 21 Jan 2010 19:44:10 +0000 (13:44 -0600)
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>
fs/xfs/quota/xfs_dquot.c
fs/xfs/xfs_quota.h

index d7c7eea..a447493 100644 (file)
@@ -1253,8 +1253,6 @@ xfs_qm_dqflush(
 
        if (flags & XFS_QMOPT_DELWRI) {
                xfs_bdwrite(mp, bp);
-       } else if (flags & XFS_QMOPT_ASYNC) {
-               error = xfs_bawrite(mp, bp);
        } else {
                error = xfs_bwrite(mp, bp);
        }
index 91bfd60..21d11d9 100644 (file)
@@ -226,7 +226,6 @@ typedef struct xfs_qoff_logformat {
  * flags for dqflush and dqflush_all.
  */
 #define XFS_QMOPT_SYNC         0x1000000
-#define XFS_QMOPT_ASYNC                0x2000000
 #define XFS_QMOPT_DELWRI       0x4000000
 
 /*