xfs: make xfs_file_remap_range() static
authorEric Biggers <[email protected]>
Thu, 15 Nov 2018 05:48:18 +0000 (21:48 -0800)
committerDarrick J. Wong <[email protected]>
Mon, 19 Nov 2018 21:30:38 +0000 (13:30 -0800)
xfs_file_remap_range() is only used in fs/xfs/xfs_file.c, so make it
static.

This addresses a gcc warning when -Wmissing-prototypes is enabled.

Signed-off-by: Eric Biggers <[email protected]>
Reviewed-by: Darrick J. Wong <[email protected]>
Signed-off-by: Darrick J. Wong <[email protected]>
fs/xfs/xfs_file.c

index 53c9ab8fb777f4d78803da906b151624cfc7053f..e47425071e654473f4b34e7899015cecce19ef5e 100644 (file)
@@ -920,7 +920,7 @@ out_unlock:
 }
 
 
-loff_t
+STATIC loff_t
 xfs_file_remap_range(
        struct file             *file_in,
        loff_t                  pos_in,