1 ext4: make function ‘ext4_getfsmap_find_fixed_metadata’ static
3 From: Mathieu Malaterre <malat@debian.org>
5 Since function ‘ext4_getfsmap_find_fixed_metadata’ can be made static,
6 make it so. Remove the following gcc warning (W=1):
8 fs/ext4/fsmap.c:405:5: warning: no previous prototype for ‘ext4_getfsmap_find_fixed_metadata’ [-Wmissing-prototypes]
10 Signed-off-by: Mathieu Malaterre <malat@debian.org>
11 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
13 fs/ext4/fsmap.c | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
16 diff --git a/fs/ext4/fsmap.c b/fs/ext4/fsmap.c
17 index e871c4bf18e9..4b99e2db95b8 100644
20 @@ -402,8 +402,8 @@ static void ext4_getfsmap_free_fixed_metadata(struct list_head *meta_list)
23 /* Find all the fixed metadata in the filesystem. */
24 -int ext4_getfsmap_find_fixed_metadata(struct super_block *sb,
25 - struct list_head *meta_list)
26 +static int ext4_getfsmap_find_fixed_metadata(struct super_block *sb,
27 + struct list_head *meta_list)
29 struct ext4_group_desc *gdp;