projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59e4293
)
xfs: make xfs_file_remap_range() static
author
Eric Biggers
<
[email protected]
>
Thu, 15 Nov 2018 05:48:18 +0000
(21:48 -0800)
committer
Darrick 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
patch
|
blob
|
history
diff --git
a/fs/xfs/xfs_file.c
b/fs/xfs/xfs_file.c
index 53c9ab8fb777f4d78803da906b151624cfc7053f..e47425071e654473f4b34e7899015cecce19ef5e 100644
(file)
--- 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,