diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_vfs.h')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_vfs.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/xfs/linux-2.6/xfs_vfs.h b/fs/xfs/linux-2.6/xfs_vfs.h index 7b88eeae0f26..91fc2c4b3353 100644 --- a/fs/xfs/linux-2.6/xfs_vfs.h +++ b/fs/xfs/linux-2.6/xfs_vfs.h | |||
@@ -190,6 +190,9 @@ extern void vfs_init_vnode(bhv_desc_t *, struct bhv_vnode *, bhv_desc_t *, int); | |||
190 | extern void vfs_force_shutdown(bhv_desc_t *, int, char *, int); | 190 | extern void vfs_force_shutdown(bhv_desc_t *, int, char *, int); |
191 | extern void vfs_freeze(bhv_desc_t *); | 191 | extern void vfs_freeze(bhv_desc_t *); |
192 | 192 | ||
193 | #define vfs_test_for_freeze(vfs) ((vfs)->vfs_super->s_frozen) | ||
194 | #define vfs_wait_for_freeze(vfs,l) vfs_check_frozen((vfs)->vfs_super, (l)) | ||
195 | |||
193 | typedef struct bhv_module_vfsops { | 196 | typedef struct bhv_module_vfsops { |
194 | struct bhv_vfsops bhv_common; | 197 | struct bhv_vfsops bhv_common; |
195 | void * bhv_custom; | 198 | void * bhv_custom; |
@@ -211,8 +214,4 @@ extern void bhv_insert_all_vfsops(struct bhv_vfs *); | |||
211 | extern void bhv_remove_all_vfsops(struct bhv_vfs *, int); | 214 | extern void bhv_remove_all_vfsops(struct bhv_vfs *, int); |
212 | extern void bhv_remove_vfsops(struct bhv_vfs *, int); | 215 | extern void bhv_remove_vfsops(struct bhv_vfs *, int); |
213 | 216 | ||
214 | #define fs_frozen(vfsp) ((vfsp)->vfs_super->s_frozen) | ||
215 | #define fs_check_frozen(vfsp, level) \ | ||
216 | vfs_check_frozen(vfsp->vfs_super, level); | ||
217 | |||
218 | #endif /* __XFS_VFS_H__ */ | 217 | #endif /* __XFS_VFS_H__ */ |