diff options
author | Stefan Metzmacher <metze@samba.org> | 2020-12-07 12:06:11 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2020-12-07 20:07:18 +0000 |
commit | 14768d0d54420fe19d914fe4e507cbbf5cb84434 (patch) | |
tree | 4a995bd0919f6ba8416933e443698bbfc863141c /source4 | |
parent | 30c1c153650ec23860b59bbcd86bb8e6a1460c42 (diff) | |
download | samba-14768d0d54420fe19d914fe4e507cbbf5cb84434.tar.gz |
s4:torture:smb2: remove unused fallback defines in oplock.c
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>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Dec 7 20:07:18 UTC 2020 on sn-devel-184
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/smb2/oplock.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source4/torture/smb2/oplock.c b/source4/torture/smb2/oplock.c index a30657ef596..ad9ef625a5a 100644 --- a/source4/torture/smb2/oplock.c +++ b/source4/torture/smb2/oplock.c @@ -5079,18 +5079,10 @@ done: #ifdef HAVE_KERNEL_OPLOCKS_LINUX -#ifndef F_SETLEASE -#define F_SETLEASE 1024 -#endif - #ifndef RT_SIGNAL_LEASE #define RT_SIGNAL_LEASE (SIGRTMIN+1) #endif -#ifndef F_SETSIG -#define F_SETSIG 10 -#endif - static int got_break; /* |