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

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Thu, 12 Jun 2008 10:54:23 EDT


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

Modified Files:
	cm_ioctl.c cm_ioctl.h cm_user.c cm_vnodeops.c smb.c smb.h 
	smb_iocons.h smb_ioctl.c smb_ioctl.h 
Log Message:
DELTA windows-pioctl-refactoring-20080612
AUTHOR jaltman@secure-endpoints.com
LICENSE MIT

Refactor the pioctl handling to provide a layer of abstraction
between the smb server and the actual pioctl data processing.
This will permit a redirector pioctl layer to be implemented
on top of the core cm_ioctl interfaces.

The general approach is that there is a new cm_ioctl_t object
which is embedded withing a higher level abstraction object.
This object maintains all of the pioctl state processing and
removes any notion of file descriptors or other communication
channel parameters.

The cm_ioctl module maintains just about all of the core 
functional processing except for SetToken which needs further
abstraction.  Path processing is now performed at the higher
layer and cm_ioctl functions accept cm_user_t, cm_scache_t,
and cm_req_t objects from the higher layer.  

The smb_ioctl module performs all of the path translation
using smb server knowledge and passes the necessary objects
to the cm_ioctl module for processing.



--- DELTA config follows ---
windows-pioctl-refactoring-20080612 openafs/src/WINNT/afsd/cm_ioctl.c 1.120 1.121
windows-pioctl-refactoring-20080612 openafs/src/WINNT/afsd/cm_ioctl.h 1.20 1.21
windows-pioctl-refactoring-20080612 openafs/src/WINNT/afsd/cm_user.c 1.13 1.14
windows-pioctl-refactoring-20080612 openafs/src/WINNT/afsd/cm_vnodeops.c 1.147 1.148
windows-pioctl-refactoring-20080612 openafs/src/WINNT/afsd/smb.c 1.196 1.197
windows-pioctl-refactoring-20080612 openafs/src/WINNT/afsd/smb.h 1.71 1.72
windows-pioctl-refactoring-20080612 openafs/src/WINNT/afsd/smb_iocons.h 1.17 1.18
windows-pioctl-refactoring-20080612 openafs/src/WINNT/afsd/smb_ioctl.c 1.35 1.36
windows-pioctl-refactoring-20080612 openafs/src/WINNT/afsd/smb_ioctl.h 1.8 1.9