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

Dave Chinner
2011-07-08T10:20:09Z

On Thu, Jul 07, 2011 at 07:05:46AM -0400, Christoph Hellwig wrote:
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> Reviewed-by: Alex Elder <aelder@sgi.com>
>
> 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@redhat.com>

--
Dave Chinner
david@fromorbit.com