diff options
author | 2018-11-14 21:48:18 -0800 | |
---|---|---|
committer | 2018-11-19 13:30:38 -0800 | |
commit | da034bcc6aaaf2a6ba6c5b5e63565c5ef4816a0e (patch) | |
tree | d25f559d22e9dc775e94fca4654cb428ea3911c2 /fs/xfs/xfs_file.c | |
parent | xfs: fix shared extent data corruption due to missing cow reservation (diff) | |
download | linux-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/xfs/xfs_file.c')
-rw-r--r-- | fs/xfs/xfs_file.c | 2 |
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, |