[PATCH 1/3] xfs: kill XFS_QMOPT_ASYNC

Alex Elder aelder at sgi.com
Thu Jan 14 12:59:34 CST 2010


Christoph Hellwig wrote:
> The option is unused and one of the few remaining users of xfs_bawrite,
> so let's get rid of it.

Looks good.

> Signed-off-by: Christoph Hellwig <hch at lst.de>

Reviewed-by: Alex Elder <aelder at sgi.com>


> 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
> 
>  /*
> 
> _______________________________________________
> xfs mailing list
> xfs at oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs




More information about the xfs mailing list