Skip to content

Commit

Permalink
xfs: kill XFS_QMOPT_ASYNC
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Christoph Hellwig authored and Alex Elder committed Jan 21, 2010
1 parent 587aa0f commit 512dd1a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions fs/xfs/quota/xfs_dquot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
1 change: 0 additions & 1 deletion fs/xfs/xfs_quota.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

/*
Expand Down

0 comments on commit 512dd1a

Please sign in to comment.