diff options
author | Mathieu Malaterre <malat@debian.org> | 2018-05-10 11:50:04 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2018-05-10 11:50:04 -0400 |
commit | 472d8ea1951b7fde0b3f0fb1f770be4ece4cff7b (patch) | |
tree | fb43b492d468973c35481bf414c32c9b3425a582 /fs/ext4 | |
parent | 75bc37fefc4471e718ba8e651aa74673d4e0a9eb (diff) | |
download | op-kernel-dev-472d8ea1951b7fde0b3f0fb1f770be4ece4cff7b.zip op-kernel-dev-472d8ea1951b7fde0b3f0fb1f770be4ece4cff7b.tar.gz |
ext4: make function ‘ext4_getfsmap_find_fixed_metadata’ static
Since function ‘ext4_getfsmap_find_fixed_metadata’ can be made static,
make it so. Remove the following gcc warning (W=1):
fs/ext4/fsmap.c:405:5: warning: no previous prototype for ‘ext4_getfsmap_find_fixed_metadata’ [-Wmissing-prototypes]
Signed-off-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r-- | fs/ext4/fsmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/fsmap.c b/fs/ext4/fsmap.c index e871c4b..4b99e2d 100644 --- a/fs/ext4/fsmap.c +++ b/fs/ext4/fsmap.c @@ -402,8 +402,8 @@ static void ext4_getfsmap_free_fixed_metadata(struct list_head *meta_list) } /* Find all the fixed metadata in the filesystem. */ -int ext4_getfsmap_find_fixed_metadata(struct super_block *sb, - struct list_head *meta_list) +static int ext4_getfsmap_find_fixed_metadata(struct super_block *sb, + struct list_head *meta_list) { struct ext4_group_desc *gdp; ext4_group_t agno; |