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

Thu, 06 May 2004 11:17:30 EDT

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

Modified Files:
	cm.h cm_dnlc.c cm_vnodeops.c cm_vnodeops.h smb.c smb3.c 
Log Message:
DELTA case-sensitivity-20040506


We now strictly prefer exact case matches.  This does incur a
performance penalty because we can no longer be satisfied with an
inexact matches in cache (we make an extra trip to the server to make
sure there aren't any exact matches or pick up the extra match if
there is one).  Of course, the name lookup cache is now case

* cm_dnlc.c : case sensitive name lookup cache
* cm_vnodeops.{c,h} : changes to cm_Lookup to first look for exact matches,
	failing which, look for inexact matches.  Also, only put a name in
	the name lookup cache iff it exactly matches something on the server.
* smb.c : look for exact matches first.
* smb3.c : as above.  Also T2 Search is used by the SMB client to resolve
	filenames.  Respond accordingly.


  This error is not yet used but is intended for situations in which an
  AFS volume contains two files which differ only by case "Foo" and "FOO"
  and the user says "DEL foo".  Since we do not have an exact match by case
  the existing code deletes one of the two files at random.  In the future
  we want to return an error.

--- DELTA config follows ---
case-sensitivity-20040506 openafs/src/WINNT/afsd/cm.h 1.6 1.7
case-sensitivity-20040506 openafs/src/WINNT/afsd/cm_dnlc.c 1.4 1.5
case-sensitivity-20040506 openafs/src/WINNT/afsd/cm_vnodeops.c 1.9 1.10
case-sensitivity-20040506 openafs/src/WINNT/afsd/cm_vnodeops.h 1.3 1.4
case-sensitivity-20040506 openafs/src/WINNT/afsd/smb.c 1.36 1.37
case-sensitivity-20040506 openafs/src/WINNT/afsd/smb3.c 1.27 1.28