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)
commit6022873cc155bdbbd3fb620689715f07a24d6ed1
tree754fe105f06e06d50fef5c079fe8bf5012384d82
parentd813bd9e02d9baf916eb96c478be89f0c435e07c
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.
source/include/smb.h
source/smbd/close.c
source/smbd/filename.c
source/smbd/open.c
source/smbd/reply.c