OpenAFS CVS Commit: openafs/src/WINNT/afsd by jaltman

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Sat, 03 Nov 2007 12:06:54 EDT


Update of /cvs/openafs/src/WINNT/afsd
In directory GRAND.CENTRAL.ORG:/home/jaltman/openafs/cvs-1-5/src/WINNT/afsd

Modified Files:
      Tag: openafs-devel-1_5_x
	cm_btree.c 
Log Message:
DELTA DEVEL15-windows-bplus-tree-20071103
AUTHOR jaltman@secure-endpoints.com

rename findNode to leafNode in bplus_Lookup

replace all OutputDebugString calls with osi_LogX calls

modify bestMatch to special case the return values for leaf nodes.
If an entry is above or below the values available in the leaf node
return BTLOWER or BTUPPER instead of BTERROR.

In insert and delete operations check for BTLOWER/BTUPPER and isleaf,
if true convert to either slot 0 or Max and perform the insertion.
This produces easier to read code when performing lookups.


--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-windows-bplus-tree-20071103 openafs/src/WINNT/afsd/cm_btree.c 1.1.2.9 1.1.2.10