[OpenAFS-devel] afs locking on linux24 again
Pavel Semerad
semerad@ss1000.ms.mff.cuni.cz
Thu, 7 Jun 2001 13:51:20 +0200
Hi,
in CVS there is missing one part of my patch to get working locking
on linux24. Now is flock64 used in afs/LINUX/osi_vnodeops.c, but flock in
afs/VNOPS/afs_vnop_flock.c :
--- afs/VNOPS/afs_vnop_flock.c 16:10:24 1.1.1.6
+++ afs/VNOPS/afs_vnop_flock.c 16:32:23 1.10
@@ -23,7 +23,7 @@
#if defined(AFS_HPUX102_ENV)
#define AFS_FLOCK k_flock
#else
-#if defined(AFS_SUN56_ENV)
+#if defined(AFS_SUN56_ENV) || defined(AFS_LINUX24_ENV)
#define AFS_FLOCK flock64
#else
#define AFS_FLOCK flock
Pavel Semerad