From 472d8ea1951b7fde0b3f0fb1f770be4ece4cff7b Mon Sep 17 00:00:00 2001 From: Mathieu Malaterre Date: Thu, 10 May 2018 11:50:04 -0400 Subject: =?UTF-8?q?ext4:=20make=20function=20=E2=80=98ext4=5Fgetfsmap=5Ffi?= =?UTF-8?q?nd=5Ffixed=5Fmetadata=E2=80=99=20static?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Theodore Ts'o --- fs/ext4/fsmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fs/ext4/fsmap.c') diff --git a/fs/ext4/fsmap.c b/fs/ext4/fsmap.c index e871c4bf18e9..4b99e2db95b8 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; -- cgit v1.2.3