Re: [PATCH] ext4: make function ‘ext4_getfsmap_find_fixed_metadata’ static

2018-05-10 Thread Darrick J. Wong
On Sat, May 05, 2018 at 10:04:52PM +0200, Mathieu Malaterre wrote: > 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’ [

Re: [PATCH] ext4: make function ‘ext4_getfsmap_find_fixed_metadata’ static

2018-05-10 Thread Theodore Y. Ts'o
On Sat, May 05, 2018 at 10:04:52PM +0200, Mathieu Malaterre wrote: > 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’ [

[PATCH] ext4: make function ‘ext4_getfsmap_find_fixed_metadata’ static

2018-05-05 Thread Mathieu Malaterre
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 --- fs/ext4/fsmap.c