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)
commit9bb7ac81b6e4d33e1be49447dbdbbb8d24259f53
tree0bffe55dcb3dee8574d89546af83bd44cd476491
parent1e60cc49f5ecb864ab965a6e7ab9287e1204d1d6
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.
(This used to be commit 5e6a7cd99d29d1cf068fc517272559c1cf47ea3a)
source3/include/proto.h
source3/include/smb.h
source3/locking/locking.c
source3/locking/locking_shm.c
source3/locking/locking_slow.c
source3/smbd/close.c
source3/smbd/files.c
source3/smbd/open.c
source3/smbd/reply.c
source3/smbd/trans2.c