[OpenAFS] Directory dates under Linux 2.6.12

chas williams - CONTRACTOR chas@cmf.nrl.navy.mil
Fri, 02 Sep 2005 07:18:53 -0400


In message <1125050688.430ee940dd1d8@webtest2.rrz.uni-koeln.de>,Jochen Roderbur
g writes:
>some time later or when something is changed in the parent directory. When I

please try this patch.

Index: src/afs/LINUX/osi_vnodeops.c
===================================================================
RCS file: /cvs/openafs/src/afs/LINUX/osi_vnodeops.c,v
retrieving revision 1.116
diff -u -u -r1.116 osi_vnodeops.c
--- src/afs/LINUX/osi_vnodeops.c	2 Aug 2005 18:59:46 -0000	1.116
+++ src/afs/LINUX/osi_vnodeops.c	2 Sep 2005 11:15:55 -0000
@@ -631,6 +627,7 @@
 #endif
     AFS_GLOCK();
 
+#ifdef notyet
     /* Make this a fast path (no crref), since it's called so often. */
     if (vcp->states & CStatd) {
 
@@ -643,6 +640,7 @@
 #endif
 	return 0;
     }
+#endif /* notyet */
 
     credp = crref();
     code = afs_getattr(vcp, &vattr, credp);