Index: trunk/server/common/patches/openafs-release-glock.patch
===================================================================
--- trunk/server/common/patches/openafs-release-glock.patch	(revision 1555)
+++ trunk/server/common/patches/openafs-release-glock.patch	(revision 1555)
@@ -0,0 +1,14 @@
+diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c
+index 77c4440..1d83549 100644
+--- a/src/afs/LINUX/osi_vnodeops.c
++++ b/src/afs/LINUX/osi_vnodeops.c
+@@ -308,7 +308,9 @@ afs_linux_readdir(struct file *fp, void *dirbuf, filldir_t filldir)
+ 		/* clean up from afs_FindVCache */
+ 		afs_PutVCache(tvc);
+ 	    }
++	    AFS_GUNLOCK();
+ 	    code = (*filldir) (dirbuf, de->name, len, offset, ino, type);
++	    AFS_GLOCK();
+ 	}
+ #else
+ 	code = (*filldir) (dirbuf, de->name, len, offset, ino);
Index: trunk/server/fedora/specs/openafs.spec.patch
===================================================================
--- trunk/server/fedora/specs/openafs.spec.patch	(revision 1554)
+++ trunk/server/fedora/specs/openafs.spec.patch	(revision 1555)
@@ -10,5 +10,5 @@
  %if %{?osvers:0}%{!?osvers:1}
  %define osvers 1
-@@ -261,6 +261,10 @@
+@@ -261,6 +261,11 @@
  %endif
  ExclusiveArch: %{ix86} x86_64 ia64 s390 s390x sparc64 ppc ppc64
@@ -17,9 +17,10 @@
 +Patch1003: openafs-localcsdb.patch
 +Patch1005: openafs-numsysnames.patch
++Patch1006: openafs-release-glock.patch
 +
  #    http://dl.openafs.org/dl/openafs/candidate/%{afsvers}/...
  Source0: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-src.tar.bz2
  Source1: http://www.openafs.org/dl/openafs/%{afsvers}/openafs-%{afsvers}-doc.tar.bz2
-@@ -343,6 +347,7 @@
+@@ -343,6 +348,7 @@
  %if %{build_userspace}
  
@@ -29,5 +30,5 @@
  
  %if %{fedorakmod}
-@@ -403,6 +408,7 @@
+@@ -403,6 +409,7 @@
  
  %if %{build_authlibs}
@@ -37,5 +38,5 @@
  Group: Networking/Filesystems
  
-@@ -419,6 +425,7 @@
+@@ -419,6 +426,7 @@
  %endif
  
@@ -45,5 +46,5 @@
  Requires: openafs-authlibs = %{PACKAGE_VERSION}
  %endif
-@@ -437,6 +444,7 @@
+@@ -437,6 +445,7 @@
  libraries.
  
@@ -53,5 +54,5 @@
  Group: Development/Filesystems
  
-@@ -465,6 +473,7 @@
+@@ -465,6 +474,7 @@
  administrators.
  
@@ -61,5 +62,5 @@
  Group: Networking/Filesystems
  Provides: openafs-kernel = %{PACKAGE_VERSION}
-@@ -514,6 +523,7 @@
+@@ -514,6 +524,7 @@
  
  %if %{krb5support}
@@ -69,5 +70,5 @@
  Requires: openafs = %{PACKAGE_VERSION}
  Group: Networking/Filesystems
-@@ -540,7 +550,7 @@
+@@ -540,7 +551,7 @@
  %if %{build_modules}
  
@@ -78,5 +79,5 @@
  %else
  
-@@ -699,6 +709,9 @@
+@@ -699,6 +710,10 @@
  
  # Patch openafs to build a kernel module named "openafs" instead of "libafs"
@@ -85,8 +86,9 @@
 +%patch1003 -p1 -b .localcsdb
 +%patch1005 -p1 -b .numsysnames
++%patch1006 -p1 -b .release-glock
  
  ##############################################################################
  #
-@@ -1209,7 +1222,7 @@
+@@ -1209,7 +1224,7 @@
  rm -rf $RPM_BUILD_ROOT%{_sbindir}/kdump*
  
@@ -97,5 +99,5 @@
  done
  
-@@ -1569,7 +1582,6 @@
+@@ -1569,7 +1584,6 @@
  %{_libdir}/librxstat.a
  %{_libdir}/libubik.a
