OpenAFS CVS Commit: openafs/src/afs/UKERNEL by shadow

cvs@GRAND.CENTRAL.ORG cvs@GRAND.CENTRAL.ORG
Mon, 29 Dec 2008 16:26:12 EST


Update of /cvs/openafs/src/afs/UKERNEL
In directory GRAND.CENTRAL.ORG:/data/sb/openafs-devel-1_5_x/src/afs/UKERNEL

Modified Files:
      Tag: openafs-devel-1_5_x
	afs_usrops.c afs_usrops.h sysincludes.h 
Log Message:
DELTA DEVEL15-libuafs-updates-20081229
AUTHOR adeason@sinenomine.net
LICENSE IPL10
FIXES 124072

adds ATTR_* constants for UKERNEL code, and makes use
of them. Without this in some cases updating file metadata will also
update unrelated metadata (e.g. truncating a file changes the mode
bits).

adds threadsafe positional i/o calls to
afs_usrops.c: uafs_pwrite and uafs_pread, allowing for threadsafe
libuafs i/o.

changes the types of some fs-related
variables to be more "correct", I think (off_t for offsets, mode_t for
file mode, etc), it fixes a bug where nDaemons is not correctly set from
the uafs_Init parameter, fixes a segfault in uafs_open when O_CREAT is
specified, initializes a couple of static vars, "#if 0"s out code that
copies tokens from kernel-space to user-space (doesn't seem to work from
what I've seen, and the current code crashes on clientless Solaris
machines from being killed by SIGSYS)


--- DELTA config for openafs-devel-1_5_x follows ---
DEVEL15-libuafs-updates-20081229 openafs/src/afs/UKERNEL/afs_usrops.c 1.30.6.10 1.30.6.11
DEVEL15-libuafs-updates-20081229 openafs/src/afs/UKERNEL/afs_usrops.h 1.5 1.5.14.1
DEVEL15-libuafs-updates-20081229 openafs/src/afs/UKERNEL/sysincludes.h 1.15.14.3 1.15.14.4