Add streams support
authorVolker Lendecke <vl@samba.org>
Sat, 19 Jan 2008 22:25:36 +0000 (23:25 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 19 Jan 2008 22:25:36 +0000 (23:25 +0100)
commit1069cfe4ade88a032164c1242c9480a544584655
tree1a4eef94986ffe072371e2fbdebf3cca7452aef6
parent2411c6cb90e485bd289b8b654db1c632556bfb2d
Add streams support

This is the core of the streams support. The main change is that in
files_struct there is now a base_fsp pointer that holds the main file open
while a stream is open. This is necessary to get the rather strange delete
semantics right: You can't delete the main file while a stream is open without
FILE_SHARE_DELETE, and while a stream is open a successful unlink of the main
file leads to DELETE_PENDING for all further access on the main file or any
stream.
(This used to be commit 6022873cc155bdbbd3fb620689715f07a24d6ed1)
source3/include/smb.h
source3/smbd/close.c
source3/smbd/filename.c
source3/smbd/open.c
source3/smbd/reply.c