CVS update: samba/source/locking

Jeremy Allison jra at samba.org
Tue Apr 25 06:48:40 EST 2000


Date:	Tuesday April 25, 2000 @ 6:48
Author:	jra

Update of /data/cvs/samba/source/locking
In directory samba:/tmp/cvs-serv20209/locking

Modified Files:
	locking.c 
Log Message:
Added the code that keeps fd's open across a close if there are other fsp's
open on the same dev/inode pair with existing POSIX locks.

This is done at the smbd/open layer, so smbd just calls fd_close() and
the transfer of any open fd's is done under the covers of fd_close().
When an fsp is closed and no other fsp's open on the same dev/inode
pair have existing POSIX locks then all fd's associated with this fsp
are closed.

Now only the hard part of doing the POSIX range unlock code when read
locks overlap remains for full POSIX/SMB lock integration....

Jeremy.



More information about the samba-cvs mailing list