xfs
[Top] [All Lists]

[PATCH 1/3] xfs: kill XFS_QMOPT_ASYNC

To: xfs@xxxxxxxxxxx
Subject: [PATCH 1/3] xfs: kill XFS_QMOPT_ASYNC
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Wed, 13 Jan 2010 17:05:48 -0500
References: <20100113220547.846700560@xxxxxxxxxxxxxxxxxxxxxx>
User-agent: quilt/0.47-1
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@xxxxxx>

Index: linux-2.6/fs/xfs/quota/xfs_dquot.c
===================================================================
--- linux-2.6.orig/fs/xfs/quota/xfs_dquot.c     2010-01-08 15:10:07.694006652 
+0100
+++ linux-2.6/fs/xfs/quota/xfs_dquot.c  2010-01-08 15:10:26.227006460 +0100
@@ -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: linux-2.6/fs/xfs/xfs_quota.h
===================================================================
--- linux-2.6.orig/fs/xfs/xfs_quota.h   2010-01-08 15:10:07.729006360 +0100
+++ linux-2.6/fs/xfs/xfs_quota.h        2010-01-08 15:10:12.062005658 +0100
@@ -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
 
 /*

<Prev in Thread] Current Thread [Next in Thread>