Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 472d8ea1 authored by Mathieu Malaterre's avatar Mathieu Malaterre Committed by Theodore Ts'o
Browse files

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: default avatarMathieu Malaterre <malat@debian.org>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 75bc37fe
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -402,7 +402,7 @@ 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,
static int ext4_getfsmap_find_fixed_metadata(struct super_block *sb,
					     struct list_head *meta_list)
{
	struct ext4_group_desc *gdp;