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.h7
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);
190extern void vfs_force_shutdown(bhv_desc_t *, int, char *, int); 190extern void vfs_force_shutdown(bhv_desc_t *, int, char *, int);
191extern void vfs_freeze(bhv_desc_t *); 191extern 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
193typedef struct bhv_module_vfsops { 196typedef 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 *);
211extern void bhv_remove_all_vfsops(struct bhv_vfs *, int); 214extern void bhv_remove_all_vfsops(struct bhv_vfs *, int);
212extern void bhv_remove_vfsops(struct bhv_vfs *, int); 215extern 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__ */