xfs
[Top] [All Lists]

Re: [PATCH 11/28] xfs: kill the unused struct xfs_sync_work

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH 11/28] xfs: kill the unused struct xfs_sync_work
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Fri, 8 Jul 2011 20:20:06 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20110707110642.697024790@xxxxxxxxxxxxxxxxxxxxxx>
References: <20110707110535.205001532@xxxxxxxxxxxxxxxxxxxxxx> <20110707110642.697024790@xxxxxxxxxxxxxxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
On Thu, Jul 07, 2011 at 07:05:46AM -0400, Christoph Hellwig wrote:
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> Reviewed-by: Alex Elder <aelder@xxxxxxx>
> 
> Index: xfs/fs/xfs/linux-2.6/xfs_sync.h
> ===================================================================
> --- xfs.orig/fs/xfs/linux-2.6/xfs_sync.h      2011-06-30 15:47:30.203125879 
> +0200
> +++ xfs/fs/xfs/linux-2.6/xfs_sync.h   2011-06-30 15:47:39.093125768 +0200
> @@ -21,14 +21,6 @@
>  struct xfs_mount;
>  struct xfs_perag;
>  
> -typedef struct xfs_sync_work {
> -     struct list_head        w_list;
> -     struct xfs_mount        *w_mount;
> -     void                    *w_data;        /* syncer routine argument */
> -     void                    (*w_syncer)(struct xfs_mount *, void *);
> -     struct completion       *w_completion;
> -} xfs_sync_work_t;
> -
>  #define SYNC_WAIT            0x0001  /* wait for i/o to complete */
>  #define SYNC_TRYLOCK         0x0002  /* only try to lock inodes */

Oops, my fault!


Reviewed-by: Dave Chinner <dchinner@xxxxxxxxxx>

-- 
Dave Chinner
david@xxxxxxxxxxxxx

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