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
Kirill Smelkov
linux
Commits
62a45b60
Commit
62a45b60
authored
Apr 20, 2011
by
David Sterba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
btrfs: make functions static when possible
Signed-off-by:
David Sterba
<
dsterba@suse.cz
>
parent
c704005d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
fs/btrfs/ctree.c
fs/btrfs/ctree.c
+2
-2
fs/btrfs/extent-tree.c
fs/btrfs/extent-tree.c
+3
-3
fs/btrfs/free-space-cache.c
fs/btrfs/free-space-cache.c
+2
-2
No files found.
fs/btrfs/ctree.c
View file @
62a45b60
...
...
@@ -74,8 +74,8 @@ noinline void btrfs_set_path_blocking(struct btrfs_path *p)
* retake all the spinlocks in the path. You can safely use NULL
* for held
*/
noinline
void
btrfs_clear_path_blocking
(
struct
btrfs_path
*
p
,
struct
extent_buffer
*
held
)
static
noinline
void
btrfs_clear_path_blocking
(
struct
btrfs_path
*
p
,
struct
extent_buffer
*
held
)
{
int
i
;
...
...
fs/btrfs/extent-tree.c
View file @
62a45b60
...
...
@@ -94,7 +94,7 @@ static int block_group_bits(struct btrfs_block_group_cache *cache, u64 bits)
return
(
cache
->
flags
&
bits
)
==
bits
;
}
void
btrfs_get_block_group
(
struct
btrfs_block_group_cache
*
cache
)
static
void
btrfs_get_block_group
(
struct
btrfs_block_group_cache
*
cache
)
{
atomic_inc
(
&
cache
->
count
);
}
...
...
@@ -3651,8 +3651,8 @@ static void block_rsv_add_bytes(struct btrfs_block_rsv *block_rsv,
spin_unlock
(
&
block_rsv
->
lock
);
}
void
block_rsv_release_bytes
(
struct
btrfs_block_rsv
*
block_rsv
,
struct
btrfs_block_rsv
*
dest
,
u64
num_bytes
)
static
void
block_rsv_release_bytes
(
struct
btrfs_block_rsv
*
block_rsv
,
struct
btrfs_block_rsv
*
dest
,
u64
num_bytes
)
{
struct
btrfs_space_info
*
space_info
=
block_rsv
->
space_info
;
...
...
fs/btrfs/free-space-cache.c
View file @
62a45b60
...
...
@@ -1455,8 +1455,8 @@ static int insert_into_bitmap(struct btrfs_block_group_cache *block_group,
return
ret
;
}
bool
try_merge_free_space
(
struct
btrfs_block_group_cache
*
block_group
,
struct
btrfs_free_space
*
info
,
bool
update_stat
)
static
bool
try_merge_free_space
(
struct
btrfs_block_group_cache
*
block_group
,
struct
btrfs_free_space
*
info
,
bool
update_stat
)
{
struct
btrfs_free_space
*
left_info
;
struct
btrfs_free_space
*
right_info
;
...
...
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