]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_io: fix copy_file_range symbol name collision
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 5 Feb 2018 20:38:02 +0000 (14:38 -0600)
committerEric Sandeen <sandeen@redhat.com>
Mon, 5 Feb 2018 20:38:02 +0000 (14:38 -0600)
commit8041435de7ed028a27ecca64302945ad455c69a6
treed2739bc7d2042a52b7450195473a67c9392d753b
parent33a503423d5fa11316aeb71b6e136aa3583df38d
xfs_io: fix copy_file_range symbol name collision

glibc 2.27 has a copy_file_range wrapper, so we need to change our
internal function out of the way to avoid compiler warnings.

Reported-by: fredrik@crux.nu
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
io/copy_file_range.c