summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-06-09 06:58:06 +0000
committerAndrew Tridgell <tridge@samba.org>2000-06-09 06:58:06 +0000
commit15cf0e847009faf7fb90bd7e9e27db6999c88eef (patch)
treefc2d0d20859c1e2199b4c76133ef2be076cdf189 /source3/smbd/server.c
parent844d3b512de819643624d6d010753b7ca39324de (diff)
downloadsamba-15cf0e847009faf7fb90bd7e9e27db6999c88eef.tar.gz
samba-15cf0e847009faf7fb90bd7e9e27db6999c88eef.tar.bz2
samba-15cf0e847009faf7fb90bd7e9e27db6999c88eef.zip
clean up oplock capability code ready for Linux code
(This used to be commit 70dcc791b45ac64fc536ef449e4e6b53b2b68fd4)
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index a8e7540d28..72c0cb105d 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -259,12 +259,11 @@ max can be %d\n",
done correctly in the process. */
reset_globals_after_fork();
- /*
- * Ensure this child has kernel oplock
- * capabilities, but not it's children.
- */
- set_process_capability(KERNEL_OPLOCK_CAPABILITY, True);
- set_inherited_process_capability(KERNEL_OPLOCK_CAPABILITY, False);
+ /*
+ * Ensure this child has kernel oplock
+ * capabilities, but not it's children.
+ */
+ oplock_set_capability(True, False);
return True;
}