Skip to content

Commit

Permalink
Remove splice() from api-compat
Browse files Browse the repository at this point in the history
splice() is available in later kernels and is not required.

Signed-off-by: Goldwyn Rodrigues <[email protected]>
Reviewed-by: Eric Ren <[email protected]>
  • Loading branch information
goldwynr authored and Eric Ren committed Sep 21, 2015
1 parent cd11ff4 commit 6aca49c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 43 deletions.
2 changes: 1 addition & 1 deletion api-compat/include/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CURDIR = $(shell pwd)

include $(TOPDIR)/Preamble.make

HFILES += reflink.h splice.h
HFILES += reflink.h

SOURCES = $(HFILES)

Expand Down
37 changes: 0 additions & 37 deletions api-compat/include/splice.h

This file was deleted.

5 changes: 0 additions & 5 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,6 @@ AM_PATH_PYTHON(2.3, , AC_MSG_ERROR([could not find Python 2.3 or higher.]))
API_COMPAT_HEADERS=""
API_COMPAT_CFLAGS=""

splice_compat_header=""
OCFS2_CHECK_HEADERS([splice() in bits/fcntl.h], bits/fcntl.h,
, splice_compat_header="splice.h", [splice (int __fdin])
API_COMPAT_HEADERS="$API_COMPAT_HEADERS $splice_compat_header"

NO_REFLINK=
OCFS2_CHECK_HEADERS([reflink() in unistd.h], unistd.h, ,
NO_REFLINK=yes, [reflink])
Expand Down

0 comments on commit 6aca49c

Please sign in to comment.