void init_smfs_cache(void);
void cleanup_smfs_cache(void);
/*super.c*/
-int init_smfs(void);
-int cleanup_smfs(void);
-void smfs_put_super(struct super_block *sb);
+extern int init_smfs(void);
+extern int cleanup_smfs(void);
+extern void smfs_put_super(struct super_block *sb);
+extern void duplicate_sb(struct super_block *csb, struct super_block *sb);
/*sysctl.c*/
extern int sm_debug_level;
extern int sm_inodes;
/*dir.c*/
extern struct inode_operations smfs_dir_iops;
extern struct file_operations smfs_dir_fops;
+extern int smfs_prepare_dentry(struct dentry *dentry,
+ struct dentry *parent,
+ struct qstr *name);
+
+void smfs_clear_dentry(struct dentry *dentry);
/*inode.c*/
extern void duplicate_inode(struct inode *cache_inode, struct inode *inode);
/*file.c*/