svn commit: samba r10281 - in trunk/source: include lib libsmb locking nmbd nsswitch printing profile rpc_server smbd torture utils web

vlendec at samba.org vlendec at samba.org
Fri Sep 16 21:22:56 GMT 2005


Author: vlendec
Date: 2005-09-16 21:22:51 +0000 (Fri, 16 Sep 2005)
New Revision: 10281

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10281

Log:
After talking to Jeremy on the phone, I get my own "I'm being mean" commit as
well... Hopefully it works as well as his one.

Merge the relevant parts of the cluster branch without actually activating
cluster stuff itself:

Replace pid_t by "struct process_id" in messaging.c, brlock.tdb and
locking.tdb. This is to enable an easier transfer to cluster communication
later. If speed turns out to be a problem, the little functions like
procid_to_pid etc can be turned into macros for the release.

Get rid of the deferred_open.tdb by adding a new type of object into the share
mode database itself.

Restructure locking.c. get_share_mode_lock now fetches a complete share mode
entry into a struct that is freely accessible with all the db fields. If you
change it, then set lck->modified. talloc_free(lck) unlocks the entry.

Volker

Modified:
   trunk/source/include/messages.h
   trunk/source/include/smb.h
   trunk/source/include/smb_share_modes.h
   trunk/source/lib/debug.c
   trunk/source/lib/dmallocmsg.c
   trunk/source/lib/messages.c
   trunk/source/lib/pidfile.c
   trunk/source/lib/tallocmsg.c
   trunk/source/lib/util.c
   trunk/source/libsmb/clidgram.c
   trunk/source/libsmb/smb_share_modes.c
   trunk/source/locking/brlock.c
   trunk/source/locking/locking.c
   trunk/source/nmbd/asyncdns.c
   trunk/source/nmbd/nmbd.c
   trunk/source/nmbd/nmbd_elections.c
   trunk/source/nmbd/nmbd_synclists.c
   trunk/source/nmbd/nmbd_winsserver.c
   trunk/source/nsswitch/winbindd.c
   trunk/source/printing/notify.c
   trunk/source/printing/printing.c
   trunk/source/printing/printing_db.c
   trunk/source/profile/profile.c
   trunk/source/rpc_server/srv_spoolss_nt.c
   trunk/source/rpc_server/srv_srvsvc_nt.c
   trunk/source/smbd/blocking.c
   trunk/source/smbd/close.c
   trunk/source/smbd/conn.c
   trunk/source/smbd/connection.c
   trunk/source/smbd/open.c
   trunk/source/smbd/oplock.c
   trunk/source/smbd/server.c
   trunk/source/smbd/trans2.c
   trunk/source/torture/locktest2.c
   trunk/source/torture/msgtest.c
   trunk/source/utils/net_ads.c
   trunk/source/utils/net_status.c
   trunk/source/utils/smbcontrol.c
   trunk/source/utils/status.c
   trunk/source/web/startstop.c
   trunk/source/web/statuspage.c


Changeset:
Sorry, the patch is too large (4030 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10281


More information about the samba-cvs mailing list