Index: /branches/fc11-dev/server/common/patches/openafs-delta-linux26-defer-cred-changing-20090511.patch
===================================================================
--- /branches/fc11-dev/server/common/patches/openafs-delta-linux26-defer-cred-changing-20090511.patch	(revision 1189)
+++ /branches/fc11-dev/server/common/patches/openafs-delta-linux26-defer-cred-changing-20090511.patch	(revision 1189)
@@ -0,0 +1,15 @@
+--- openafs-1.4.10/src/afs/LINUX/osi_cred.c.orig	2009-06-12 02:03:13.000000000 -0400
++++ openafs-1.4.10/src/afs/LINUX/osi_cred.c	2009-06-12 02:03:16.000000000 -0400
+@@ -104,6 +104,12 @@
+ #if defined(STRUCT_TASK_HAS_CRED)
+     struct cred *new_creds;
+ 
++    /* If our current task doesn't have identical real and effective
++     * credentials, commit_cred won't let us change them, so we just
++     * bail here.
++     */
++    if (current->cred != current->real_cred)
++        return;
+     new_creds = prepare_creds();
+     new_creds->fsuid = cr->cr_uid;
+     new_creds->uid = cr->cr_ruid;
Index: /branches/fc11-dev/server/fedora/specs/openafs.spec.patch
===================================================================
--- /branches/fc11-dev/server/fedora/specs/openafs.spec.patch	(revision 1188)
+++ /branches/fc11-dev/server/fedora/specs/openafs.spec.patch	(revision 1189)
@@ -1,4 +1,4 @@
---- openafs.spec.orig	2009-06-06 21:06:18.000000000 -0400
-+++ openafs.spec	2009-06-06 21:07:33.000000000 -0400
+--- openafs.spec.orig	2009-06-03 04:16:03.000000000 -0400
++++ openafs.spec	2009-06-12 02:05:57.000000000 -0400
 @@ -8,7 +8,7 @@
  # for beta/rc releases make pkgrel 0.X.<tag>
@@ -10,5 +10,5 @@
  %if %{?osvers:0}%{!?osvers:1}
  %define osvers 1
-@@ -261,6 +261,13 @@
+@@ -261,6 +261,14 @@
  %endif
  ExclusiveArch: %{ix86} x86_64 ia64 s390 s390x sparc64 ppc ppc64
@@ -20,9 +20,10 @@
 +Patch1004: openafs-delta-dprintf-rename-20090427.patch
 +Patch1005: openafs-numsysnames.patch
++Patch1006: openafs-delta-linux26-defer-cred-changing-20090511.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 +350,7 @@
+@@ -343,6 +351,7 @@
  %if %{build_userspace}
  
@@ -32,5 +33,5 @@
  
  %if %{fedorakmod}
-@@ -403,6 +411,7 @@
+@@ -403,6 +412,7 @@
  
  %if %{build_authlibs}
@@ -40,5 +41,5 @@
  Group: Networking/Filesystems
  
-@@ -419,6 +428,7 @@
+@@ -419,6 +429,7 @@
  %endif
  
@@ -48,5 +49,5 @@
  Requires: openafs-authlibs = %{PACKAGE_VERSION}
  %endif
-@@ -437,6 +447,7 @@
+@@ -437,6 +448,7 @@
  libraries.
  
@@ -56,5 +57,5 @@
  Group: Development/Filesystems
  
-@@ -465,6 +476,7 @@
+@@ -465,6 +477,7 @@
  administrators.
  
@@ -64,5 +65,5 @@
  Group: Networking/Filesystems
  Provides: openafs-kernel = %{PACKAGE_VERSION}
-@@ -514,6 +526,7 @@
+@@ -514,6 +527,7 @@
  
  %if %{krb5support}
@@ -72,5 +73,5 @@
  Requires: openafs = %{PACKAGE_VERSION}
  Group: Networking/Filesystems
-@@ -540,7 +553,7 @@
+@@ -540,7 +554,7 @@
  %if %{build_modules}
  
@@ -81,5 +82,5 @@
  %else
  
-@@ -699,6 +712,12 @@
+@@ -699,6 +713,13 @@
  
  # Patch openafs to build a kernel module named "openafs" instead of "libafs"
@@ -91,4 +92,5 @@
 +%patch1004 -p1 -b .dprintf
 +%patch1005 -p1 -b .numsysnames
++%patch1006 -p1 -b .defercredchanging
  
  ##############################################################################
