smbd: Fix an ancient oplock bug
commit9e398837bab5e520429fc93e3277f00b6081559c
authorVolker Lendecke <vl@samba.org>
Wed, 4 Sep 2013 11:57:00 +0000 (4 13:57 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 14 Feb 2014 19:13:42 +0000 (14 20:13 +0100)
treea594d8772e4ad7392e1918ca85be04bef5f7537b
parentf847b5dba7b6646cd28751e22a4d2f30fda51917
smbd: Fix an ancient oplock bug

If we get an oplock break response, we forgot to remove the oplock break
timeout.

Found by stopping raw.oplock.exclusive5 after the 2nd open and watching a debug
level 10 log. This amends 08a9de89 from 2007.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 0670975261c5f29394f9e9d25f899a7de948dad1)

Fix bug #10436 - cancel fsp->oplock_timeout in downgrade_file_oplock().
source3/smbd/oplock.c