Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Mathieu Malaterre and committed by
Theodore Ts'o
472d8ea1 75bc37fe

+2 -2
+2 -2
fs/ext4/fsmap.c
··· 402 402 } 403 403 404 404 /* Find all the fixed metadata in the filesystem. */ 405 - int ext4_getfsmap_find_fixed_metadata(struct super_block *sb, 406 - struct list_head *meta_list) 405 + static int ext4_getfsmap_find_fixed_metadata(struct super_block *sb, 406 + struct list_head *meta_list) 407 407 { 408 408 struct ext4_group_desc *gdp; 409 409 ext4_group_t agno;