r23517: After Jeremy has given is ack on irc:
authorVolker Lendecke <vlendec@samba.org>
Sat, 16 Jun 2007 10:02:51 +0000 (10:02 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:24 +0000 (12:23 -0500)
commitaa16d8a649d1a38593edd5ca94ed2c7d4291911b
tree0c019951221a01b294822d0454ea83de00f4377d
parentcbf0829abcc3689edd7ab225054dfc79d43c6309
r23517: After Jeremy has given is ack on irc:

Change rename_internals to open the file/directory and then call
rename_internals_fsp. Two reasons: Remove code duplication and remove a
race condition. The race condition was due to the fact that in
can_rename the share mode check closed the file and then after that did
the rename.
source/smbd/reply.c