s3 oplocks: Remove oplocks before handling delete on close semantics
authorTim Prouty <tprouty@samba.org>
Wed, 4 Feb 2009 07:17:48 +0000 (23:17 -0800)
committerTim Prouty <tprouty@samba.org>
Tue, 10 Feb 2009 07:47:45 +0000 (23:47 -0800)
commit32d68b8ec3aee7853c7547296e829277515813d1
tree06b9b7efe1b829fd7425b47c2498f7bcbab890da
parent17eba16bad9b20518a5d336bc751e749a587ec68
s3 oplocks: Remove oplocks before handling delete on close semantics

Unlinking a file while still holding an oplock can cause problems with
kernel oplocks.  This simply releases the oplock before actually
unlinking the file.
source3/smbd/close.c