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

Christoph Hellwig
2011-07-01T09:46:05Z

[-- Attachment #1: xfs-kill-xfs_sync_work --]
[-- Type: text/plain, Size: 848 bytes --]

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

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 */