add patch use-raw_iversion-value-for-ea_inode
[ext4-patch-queue.git] / make-ext4_getfsmap_find_fixed_metadata-static
blob42ebc2728048ae03216f89a8b5da366d229f161e
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>
12 ---
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
18 --- a/fs/ext4/fsmap.c
19 +++ b/fs/ext4/fsmap.c
20 @@ -402,8 +402,8 @@ static void ext4_getfsmap_free_fixed_metadata(struct list_head *meta_list)
21  }
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)
28  {
29         struct ext4_group_desc *gdp;
30         ext4_group_t agno;
31 -- 
32 2.11.0