diff options
author | Eric Sandeen <sandeen@redhat.com> | 2012-01-05 04:33:28 +0100 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-01-05 04:33:28 +0100 |
commit | 5f163cc759a9fa8844a4efcf1f579dc5b2ca2491 (patch) | |
tree | 2a8e127fbe2e807113699de992cd1d248b1f9e3e /fs/ext4/balloc.c | |
parent | ext4: make local symbol ext4_initxattrs static (diff) | |
download | linux-5f163cc759a9fa8844a4efcf1f579dc5b2ca2491.tar.xz linux-5f163cc759a9fa8844a4efcf1f579dc5b2ca2491.zip |
ext4: make more symbols static
A couple more functions can reasonably be made static if desired.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/balloc.c')
-rw-r--r-- | fs/ext4/balloc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c index 12ccacda44e0..f9e2cd8cf711 100644 --- a/fs/ext4/balloc.c +++ b/fs/ext4/balloc.c @@ -23,6 +23,8 @@ #include <trace/events/ext4.h> +static unsigned ext4_num_base_meta_clusters(struct super_block *sb, + ext4_group_t block_group); /* * balloc.c contains the blocks allocation and deallocation routines */ @@ -668,7 +670,7 @@ unsigned long ext4_bg_num_gdb(struct super_block *sb, ext4_group_t group) * This function returns the number of file system metadata clusters at * the beginning of a block group, including the reserved gdt blocks. */ -unsigned ext4_num_base_meta_clusters(struct super_block *sb, +static unsigned ext4_num_base_meta_clusters(struct super_block *sb, ext4_group_t block_group) { struct ext4_sb_info *sbi = EXT4_SB(sb); |