[OpenAFS-devel] Panic with 1.2.4-rc1 on ia64

chas williams chas@cmf.nrl.navy.mil
Thu, 02 May 2002 13:20:26 -0400


>I have been playing with rc1 and am getting a panic.  I was not having a 
>panic with the 4/18 snapshot.

i think i see the problem.  gcc says:

gcc  -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -ffixed-r13 -mfixed-range=f10-f15,f32-f127 -falign-functions=32 -mb-step -D__KERNEL__ -DKERNEL -D_KERNEL -DAFS_SMP -D__BOOT_KERNEL_UP=0 -D__BOOT_KERNEL_SMP=1  -DMODULE -I. -I../ -I/home/chas/openafs-stable/openafs/src/config -c ../afs/osi_vnodeops.c
../afs/osi_vnodeops.c: In function `afs_linux_dentry_revalidate':
../afs/osi_vnodeops.c:726: warning: assignment makes pointer from integer without a cast

looks like the prototype for osi_dnlc_lookup() is missing.  try the following
patch:

Index: osi_vnodeops.c
===================================================================
RCS file: /cvs/openafs/src/afs/LINUX/osi_vnodeops.c,v
retrieving revision 1.29.2.7
diff -u -d -b -w -u -r1.29.2.7 osi_vnodeops.c
--- osi_vnodeops.c      2002/04/24 01:49:38     1.29.2.7
+++ osi_vnodeops.c      2002/05/02 17:19:45
@@ -33,6 +33,7 @@
 #if defined(AFS_LINUX24_ENV)
 #include "../h/smp_lock.h"
 #endif
+#include "../afs/afs_osidnlc.h"
 
 #ifdef pgoff2loff
 #define pageoff(pp) pgoff2loff((pp)->index)