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)
committerVolker Lendecke <vl@samba.org>
Fri, 15 Jan 2010 16:45:11 +0000 (17:45 +0100)
commitf957e56ae7b041abc15e5fadc3847da6ca80aece
treedbf1465ecbbd86a47b7b08107b4d2c995356b373
parent7527cfbc73be52e351dbc5579d840972f7532769
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.
source/smbd/close.c