X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fxfs%2Fxfs_dmapi.h;fp=fs%2Fxfs%2Fxfs_dmapi.h;h=b4c7f2bc55a0bae832190bc4b8a3ddcd71050c18;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=4e7865ad6f0ee74fe83a08d6f53a6a21d0c4dd2e;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/fs/xfs/xfs_dmapi.h b/fs/xfs/xfs_dmapi.h index 4e7865ad6..b4c7f2bc5 100644 --- a/fs/xfs/xfs_dmapi.h +++ b/fs/xfs/xfs_dmapi.h @@ -189,6 +189,16 @@ typedef enum { #define AT_DELAY_FLAG(f) ((f&ATTR_NONBLOCK) ? DM_FLAGS_NDELAY : 0) -extern struct bhv_module_vfsops xfs_dmops; +extern struct bhv_vfsops xfs_dmops; + +#ifdef CONFIG_XFS_DMAPI +void xfs_dm_init(struct file_system_type *); +void xfs_dm_exit(struct file_system_type *); +#define XFS_DM_INIT(fstype) xfs_dm_init(fstype) +#define XFS_DM_EXIT(fstype) xfs_dm_exit(fstype) +#else +#define XFS_DM_INIT(fstype) +#define XFS_DM_EXIT(fstype) +#endif #endif /* __XFS_DMAPI_H__ */