s3:smbd/oplock obey kernel oplock setting when releasing oplocks
authorChristian Ambach <ambi@samba.org>
Mon, 4 Jan 2016 22:12:25 +0000 (23:12 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 6 Jan 2016 07:58:56 +0000 (08:58 +0100)
commiteda6aaf1533b69d093ba67ff5e22fcda0073dd3f
treece0642fe046a9f6ac4b5baef9017eefb63ce715e
parent3e1b26bd6d0998c3af3d77f94eaac469434389be
s3:smbd/oplock obey kernel oplock setting when releasing oplocks

otherwise smbd asks the kernel to release an oplock that was never requested

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11400

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Jan  6 08:58:56 CET 2016 on sn-devel-144
source3/smbd/oplock.c