Btrfs: Extent based page cache code. This uses an rbtree of extents and tests
[linux-2.6-block.git] / fs / btrfs / super.c
index 74f3de47423c193d6a249420cf8ba82cc9428f1f..7b7c32c73a2c2e3be600187d7f446b1e9458f465 100644 (file)
@@ -185,6 +185,7 @@ static int __init init_btrfs_fs(void)
        err = btrfs_init_cachep();
        if (err)
                return err;
+       extent_map_init();
        return register_filesystem(&btrfs_fs_type);
 }
 
@@ -192,6 +193,7 @@ static void __exit exit_btrfs_fs(void)
 {
        btrfs_exit_transaction_sys();
        btrfs_destroy_cachep();
+       extent_map_exit();
        unregister_filesystem(&btrfs_fs_type);
 }