summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-11-14 21:48:18 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2018-11-19 13:30:38 -0800
commitda034bcc6aaaf2a6ba6c5b5e63565c5ef4816a0e (patch)
treed25f559d22e9dc775e94fca4654cb428ea3911c2 /fs
parent59e4293149106fb92530f8e56fa3992d8548c5e6 (diff)
downloadlinux-da034bcc6aaaf2a6ba6c5b5e63565c5ef4816a0e.tar.gz
linux-da034bcc6aaaf2a6ba6c5b5e63565c5ef4816a0e.tar.bz2
linux-da034bcc6aaaf2a6ba6c5b5e63565c5ef4816a0e.zip
xfs: make xfs_file_remap_range() static
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 <ebiggers@google.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/xfs_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c
index 53c9ab8fb777..e47425071e65 100644
--- a/fs/xfs/xfs_file.c
+++ b/fs/xfs/xfs_file.c
@@ -920,7 +920,7 @@ out_unlock:
}
-loff_t
+STATIC loff_t
xfs_file_remap_range(
struct file *file_in,
loff_t pos_in,