aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_vfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_vfs.h')
-rw-r--r--fs/xfs/linux-2.6/xfs_vfs.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/fs/xfs/linux-2.6/xfs_vfs.h b/fs/xfs/linux-2.6/xfs_vfs.h
index 5c4996356226..51906192e70a 100644
--- a/fs/xfs/linux-2.6/xfs_vfs.h
+++ b/fs/xfs/linux-2.6/xfs_vfs.h
@@ -36,20 +36,14 @@ typedef struct kstatfs bhv_statvfs_t;
36 36
37typedef struct bhv_vfs_sync_work { 37typedef struct bhv_vfs_sync_work {
38 struct list_head w_list; 38 struct list_head w_list;
39 struct bhv_vfs *w_vfs; 39 struct xfs_mount *w_mount;
40 void *w_data; /* syncer routine argument */ 40 void *w_data; /* syncer routine argument */
41 void (*w_syncer)(struct bhv_vfs *, void *); 41 void (*w_syncer)(struct xfs_mount *, void *);
42} bhv_vfs_sync_work_t; 42} bhv_vfs_sync_work_t;
43 43
44typedef struct bhv_vfs { 44typedef struct bhv_vfs {
45 struct xfs_mount *vfs_mount; 45 struct xfs_mount *vfs_mount;
46 struct super_block *vfs_super; /* generic superblock pointer */ 46 struct super_block *vfs_super; /* generic superblock pointer */
47 struct task_struct *vfs_sync_task; /* generalised sync thread */
48 bhv_vfs_sync_work_t vfs_sync_work; /* work item for VFS_SYNC */
49 struct list_head vfs_sync_list; /* sync thread work item list */
50 spinlock_t vfs_sync_lock; /* work item list lock */
51 int vfs_sync_seq; /* sync thread generation no. */
52 wait_queue_head_t vfs_wait_single_sync_task;
53} bhv_vfs_t; 47} bhv_vfs_t;
54 48
55#define SYNC_ATTR 0x0001 /* sync attributes */ 49#define SYNC_ATTR 0x0001 /* sync attributes */