Whamcloud - gitweb
b=5881
[fs/lustre-release.git] / lustre / smfs / smfs_internal.h
index f54d822..e2eedd1 100644 (file)
 #define SMFS_PSDEV_MINOR 250
 #define SMFS_PSDEV_MAJOR 10
 
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,10))
+#define FC3_KERNEL
+#endif
+
 struct option {
         char *opt;
         char *value;
@@ -124,8 +128,8 @@ struct smfs_hook_ops *smfs_unregister_hook_ops(struct smfs_super_info *smb,
 /*smfs_lib.c*/
 void smfs_put_super(struct super_block *sb);
 int smfs_fill_super(struct super_block *sb, void *data, int silent);
-
-void smfs_cleanup_hooks(struct smfs_super_info *smb);
+int smfs_post_setup(struct super_block *, struct vfsmount *);
+void smfs_post_cleanup(struct super_block *);
 /*sysctl.c*/
 extern int sm_debug_level;
 extern int sm_inodes;
@@ -134,6 +138,9 @@ extern int sm_stack;
 /*dir.c*/
 extern struct inode_operations smfs_dir_iops;
 extern struct file_operations smfs_dir_fops;
+extern struct inode_operations smfs_iopen_iops;
+extern struct file_operations smfs_iopen_fops;
+
 /*file.c*/
 extern struct inode_operations smfs_file_iops;
 extern struct file_operations  smfs_file_fops;