diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-06-13 09:55:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:17 -0500 |
commit | 062a411c12e032e14252cbfb261fd5b069de2bb8 (patch) | |
tree | ade9110e29f3b91c0602f52aa62c99c15262a809 /source3/rpcclient | |
parent | 28bc066aa843d97741b6507f4936516ff39b3d48 (diff) | |
download | samba-062a411c12e032e14252cbfb261fd5b069de2bb8.tar.gz samba-062a411c12e032e14252cbfb261fd5b069de2bb8.tar.bz2 samba-062a411c12e032e14252cbfb261fd5b069de2bb8.zip |
r23457: After Jeremy's ack:
The attached patch removes a little race condition for
people with real kernel oplock support, and reduces some
code paths. It changes reply_unlink to open_file_ntcreate,
set_delete_on_close and close_file.
The race condition happens if we break the oplock in
can_delete via open_file_ntcreate, we close the file,
someone else gets a batch oplock and we try to unlink.
It reduces code paths by calling SMB_VFS_UNLINK in 2 fewer
places.
(This used to be commit 0342ce7057045a362134281bcc7030111276dea0)
Diffstat (limited to 'source3/rpcclient')
0 files changed, 0 insertions, 0 deletions