OpenAFS CVS Commit: openafs/src/afs/LINUX by shadow
cvs@GRAND.CENTRAL.ORG
cvs@GRAND.CENTRAL.ORG
Mon, 04 Jun 2001 18:29:00 EDT
Update of /cvs/openafs/src/afs/LINUX
In directory GRAND.CENTRAL.ORG:/data/sb/openafs/src/afs/LINUX
Modified Files:
osi_vnodeops.c
Log Message:
DELTA linux24-use-flock64-instead-of-flock-20010604
AUTHOR semerad@ss1000.ms.mff.cuni.cz
"locking on linux 2.4.x does not work. 2.4.x uses internally 64bit offsets
(start and end of lock) and end is set to 64 bit int max. When it converts
to struct flock, len is set to 0xffffffff (cut off high 32 bits) and afs_lockctl
decides it is byte-range locking. So on 2.4.x kernel there should be used flock64
instead of flock (flock64 is typedef to flock on 64bit systems such as sparc64
and ia64)"
--- DELTA config follows ---
linux24-use-flock64-instead-of-flock-20010604 openafs/src/afs/LINUX/osi_vnodeops.c 1.23 1.24