#include <linux/vmalloc.h>
#include <asm/segment.h>
-#include <../obd/linux/sym_obd.h>
+#include <../obd/linux/sim_obd.h>
#include <obdfs.h>
-/* DEBUGGING! */
-#undef MOD_INC_USE_COUNT
-#define MOD_INC_USE_COUNT
-#undef MOD_DEC_USE_COUNT
-#define MOD_DEC_USE_COUNT
-
/* VFS super_block ops */
static struct super_block *obdfs_read_super(struct super_block *, void *, int);
static void obdfs_read_inode(struct inode *);
printk("obdfs_read_super: rootinode is %ld dev %d\n",
root->i_ino, root->i_dev);
- sb->s_root = d_alloc_root(root, NULL);
+ sb->s_root = d_alloc_root(root);
unlock_super(sb);
EXIT;
return sb;
ENTRY;
obdfs_sysctl_clean();
+ unregister_filesystem(&obdfs_fs_type);
}
void obdfs_psdev_dec_use_count(void)
{