Reasonably large change to give us *exactly* correct NT delete on close semantics.
authorJeremy Allison <jra@samba.org>
Fri, 23 Oct 1998 03:34:50 +0000 (03:34 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 23 Oct 1998 03:34:50 +0000 (03:34 +0000)
commit5e6a7cd99d29d1cf068fc517272559c1cf47ea3a
tree26f9188c69683491516c6bc3ee4a5e7599552c93
parenta66c56d70e7e663f3a19cbfcc2e704653d8fc9b2
Reasonably large change to give us *exactly* correct NT delete on close semantics.
This was trickier than it looks :-). Check out the new DELETE_ON_CLOSE
flag in the share modes and the new code that iterates through all open
files on the same device and inode in files.c and trans2.c

Also changed the code that modifies share mode entries to take
generic function pointers rather than doing a specific thing so
this sort of change should be easier in the future.

Jeremy.
source/include/proto.h
source/include/smb.h
source/locking/locking.c
source/locking/locking_shm.c
source/locking/locking_slow.c
source/smbd/close.c
source/smbd/files.c
source/smbd/open.c
source/smbd/reply.c
source/smbd/trans2.c