summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_file.c
diff options
context:
space:
mode:
authorEric Biggers2018-11-15 06:48:18 +0100
committerDarrick J. Wong2018-11-19 22:30:38 +0100
commitda034bcc6aaaf2a6ba6c5b5e63565c5ef4816a0e (patch)
treed25f559d22e9dc775e94fca4654cb428ea3911c2 /fs/xfs/xfs_file.c
parentxfs: fix shared extent data corruption due to missing cow reservation (diff)
downloadkernel-qcow2-linux-da034bcc6aaaf2a6ba6c5b5e63565c5ef4816a0e.tar.gz
kernel-qcow2-linux-da034bcc6aaaf2a6ba6c5b5e63565c5ef4816a0e.tar.xz
kernel-qcow2-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/xfs/xfs_file.c')
-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,