|
@@ -86,7 +86,6 @@ static const struct extent_io_ops btrfs_extent_io_ops;
|
|
|
|
|
|
|
|
static struct kmem_cache *btrfs_inode_cachep;
|
|
static struct kmem_cache *btrfs_inode_cachep;
|
|
|
struct kmem_cache *btrfs_trans_handle_cachep;
|
|
struct kmem_cache *btrfs_trans_handle_cachep;
|
|
|
-struct kmem_cache *btrfs_transaction_cachep;
|
|
|
|
|
struct kmem_cache *btrfs_path_cachep;
|
|
struct kmem_cache *btrfs_path_cachep;
|
|
|
struct kmem_cache *btrfs_free_space_cachep;
|
|
struct kmem_cache *btrfs_free_space_cachep;
|
|
|
|
|
|
|
@@ -9513,7 +9512,6 @@ void btrfs_destroy_cachep(void)
|
|
|
rcu_barrier();
|
|
rcu_barrier();
|
|
|
kmem_cache_destroy(btrfs_inode_cachep);
|
|
kmem_cache_destroy(btrfs_inode_cachep);
|
|
|
kmem_cache_destroy(btrfs_trans_handle_cachep);
|
|
kmem_cache_destroy(btrfs_trans_handle_cachep);
|
|
|
- kmem_cache_destroy(btrfs_transaction_cachep);
|
|
|
|
|
kmem_cache_destroy(btrfs_path_cachep);
|
|
kmem_cache_destroy(btrfs_path_cachep);
|
|
|
kmem_cache_destroy(btrfs_free_space_cachep);
|
|
kmem_cache_destroy(btrfs_free_space_cachep);
|
|
|
}
|
|
}
|
|
@@ -9533,12 +9531,6 @@ int btrfs_init_cachep(void)
|
|
|
if (!btrfs_trans_handle_cachep)
|
|
if (!btrfs_trans_handle_cachep)
|
|
|
goto fail;
|
|
goto fail;
|
|
|
|
|
|
|
|
- btrfs_transaction_cachep = kmem_cache_create("btrfs_transaction",
|
|
|
|
|
- sizeof(struct btrfs_transaction), 0,
|
|
|
|
|
- SLAB_TEMPORARY | SLAB_MEM_SPREAD, NULL);
|
|
|
|
|
- if (!btrfs_transaction_cachep)
|
|
|
|
|
- goto fail;
|
|
|
|
|
-
|
|
|
|
|
btrfs_path_cachep = kmem_cache_create("btrfs_path",
|
|
btrfs_path_cachep = kmem_cache_create("btrfs_path",
|
|
|
sizeof(struct btrfs_path), 0,
|
|
sizeof(struct btrfs_path), 0,
|
|
|
SLAB_MEM_SPREAD, NULL);
|
|
SLAB_MEM_SPREAD, NULL);
|