summaryrefslogtreecommitdiff
path: root/source3/smbd/vfs.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-06-16 10:02:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:24 -0500
commit80c085d8ef1619865710b2ceb2c13fc56fd1929c (patch)
tree1d2dd1c0de42e07d292ab6febc8658c9832c83dc /source3/smbd/vfs.c
parent9dee722b09b86622513f5d1b7ecab4dbf0787645 (diff)
downloadsamba-80c085d8ef1619865710b2ceb2c13fc56fd1929c.tar.gz
samba-80c085d8ef1619865710b2ceb2c13fc56fd1929c.tar.bz2
samba-80c085d8ef1619865710b2ceb2c13fc56fd1929c.zip
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. (This used to be commit aa16d8a649d1a38593edd5ca94ed2c7d4291911b)
Diffstat (limited to 'source3/smbd/vfs.c')
0 files changed, 0 insertions, 0 deletions