diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_vfs.h')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_vfs.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/fs/xfs/linux-2.6/xfs_vfs.h b/fs/xfs/linux-2.6/xfs_vfs.h index 51906192e70a..4da03a4e3520 100644 --- a/fs/xfs/linux-2.6/xfs_vfs.h +++ b/fs/xfs/linux-2.6/xfs_vfs.h | |||
@@ -21,7 +21,6 @@ | |||
21 | #include <linux/vfs.h> | 21 | #include <linux/vfs.h> |
22 | #include "xfs_fs.h" | 22 | #include "xfs_fs.h" |
23 | 23 | ||
24 | struct bhv_vfs; | ||
25 | struct inode; | 24 | struct inode; |
26 | 25 | ||
27 | struct fid; | 26 | struct fid; |
@@ -41,11 +40,6 @@ typedef struct bhv_vfs_sync_work { | |||
41 | void (*w_syncer)(struct xfs_mount *, void *); | 40 | void (*w_syncer)(struct xfs_mount *, void *); |
42 | } bhv_vfs_sync_work_t; | 41 | } bhv_vfs_sync_work_t; |
43 | 42 | ||
44 | typedef struct bhv_vfs { | ||
45 | struct xfs_mount *vfs_mount; | ||
46 | struct super_block *vfs_super; /* generic superblock pointer */ | ||
47 | } bhv_vfs_t; | ||
48 | |||
49 | #define SYNC_ATTR 0x0001 /* sync attributes */ | 43 | #define SYNC_ATTR 0x0001 /* sync attributes */ |
50 | #define SYNC_CLOSE 0x0002 /* close file system down */ | 44 | #define SYNC_CLOSE 0x0002 /* close file system down */ |
51 | #define SYNC_DELWRI 0x0004 /* look at delayed writes */ | 45 | #define SYNC_DELWRI 0x0004 /* look at delayed writes */ |
@@ -78,11 +72,7 @@ typedef struct bhv_vfs { | |||
78 | #define SHUTDOWN_REMOTE_REQ 0x0010 /* shutdown came from remote cell */ | 72 | #define SHUTDOWN_REMOTE_REQ 0x0010 /* shutdown came from remote cell */ |
79 | #define SHUTDOWN_DEVICE_REQ 0x0020 /* failed all paths to the device */ | 73 | #define SHUTDOWN_DEVICE_REQ 0x0020 /* failed all paths to the device */ |
80 | 74 | ||
81 | #define vfs_test_for_freeze(vfs) ((vfs)->vfs_super->s_frozen) | 75 | #define xfs_test_for_freeze(mp) ((mp)->m_super->s_frozen) |
82 | #define vfs_wait_for_freeze(vfs,l) vfs_check_frozen((vfs)->vfs_super, (l)) | 76 | #define xfs_wait_for_freeze(mp,l) vfs_check_frozen((mp)->m_super, (l)) |
83 | |||
84 | extern bhv_vfs_t *vfs_allocate(struct super_block *); | ||
85 | extern bhv_vfs_t *vfs_from_sb(struct super_block *); | ||
86 | extern void vfs_deallocate(bhv_vfs_t *); | ||
87 | 77 | ||
88 | #endif /* __XFS_VFS_H__ */ | 78 | #endif /* __XFS_VFS_H__ */ |