Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
45c06543
Commit
45c06543
authored
Apr 27, 2009
by
Chris Mason
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Btrfs: remove unused btrfs_bit_radix slab
Signed-off-by:
Chris Mason
<
chris.mason@oracle.com
>
parent
193f284d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
fs/btrfs/inode.c
fs/btrfs/inode.c
+0
-8
No files found.
fs/btrfs/inode.c
View file @
45c06543
...
@@ -70,7 +70,6 @@ static struct extent_io_ops btrfs_extent_io_ops;
...
@@ -70,7 +70,6 @@ static 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_transaction_cachep
;
struct
kmem_cache
*
btrfs_bit_radix_cachep
;
struct
kmem_cache
*
btrfs_path_cachep
;
struct
kmem_cache
*
btrfs_path_cachep
;
#define S_SHIFT 12
#define S_SHIFT 12
...
@@ -4641,8 +4640,6 @@ void btrfs_destroy_cachep(void)
...
@@ -4641,8 +4640,6 @@ void btrfs_destroy_cachep(void)
kmem_cache_destroy
(
btrfs_trans_handle_cachep
);
kmem_cache_destroy
(
btrfs_trans_handle_cachep
);
if
(
btrfs_transaction_cachep
)
if
(
btrfs_transaction_cachep
)
kmem_cache_destroy
(
btrfs_transaction_cachep
);
kmem_cache_destroy
(
btrfs_transaction_cachep
);
if
(
btrfs_bit_radix_cachep
)
kmem_cache_destroy
(
btrfs_bit_radix_cachep
);
if
(
btrfs_path_cachep
)
if
(
btrfs_path_cachep
)
kmem_cache_destroy
(
btrfs_path_cachep
);
kmem_cache_destroy
(
btrfs_path_cachep
);
}
}
...
@@ -4673,11 +4670,6 @@ int btrfs_init_cachep(void)
...
@@ -4673,11 +4670,6 @@ int btrfs_init_cachep(void)
if
(
!
btrfs_path_cachep
)
if
(
!
btrfs_path_cachep
)
goto
fail
;
goto
fail
;
btrfs_bit_radix_cachep
=
kmem_cache_create
(
"btrfs_radix"
,
256
,
0
,
SLAB_RECLAIM_ACCOUNT
|
SLAB_MEM_SPREAD
|
SLAB_DESTROY_BY_RCU
,
NULL
);
if
(
!
btrfs_bit_radix_cachep
)
goto
fail
;
return
0
;
return
0
;
fail:
fail:
btrfs_destroy_cachep
();
btrfs_destroy_cachep
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment