F_GETLEASE/F_SETLEASE/F_SETSIG were all included in the kernel
and glibc in 2002, there's no need to have fallbacks 18 years later.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
#ifdef HAVE_KERNEL_OPLOCKS_LINUX
-#ifndef F_SETLEASE
-#define F_SETLEASE 1024
-#endif
-
-#ifndef F_GETLEASE
-#define F_GETLEASE 1025
-#endif
-
#ifndef RT_SIGNAL_LEASE
#define RT_SIGNAL_LEASE (SIGRTMIN+1)
#endif
-#ifndef F_SETSIG
-#define F_SETSIG 10
-#endif
-
/*
* Call to set the kernel lease signal handler
*/