Index: /trunk/server/common/patches/openafs-scripts.patch
===================================================================
--- /trunk/server/common/patches/openafs-scripts.patch	(revision 2711)
+++ /trunk/server/common/patches/openafs-scripts.patch	(revision 2712)
@@ -46,8 +46,8 @@
 #
 diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c
-index 03caf1c..699b2ce 100644
+index 91c09ed..86e2f26 100644
 --- a/src/afs/LINUX/osi_vnodeops.c
 +++ b/src/afs/LINUX/osi_vnodeops.c
-@@ -1207,6 +1207,28 @@ afs_linux_dentry_revalidate(struct dentry *dp, int flags)
+@@ -1296,6 +1296,28 @@ afs_linux_dentry_revalidate(struct dentry *dp, int flags)
  	/* should we always update the attributes at this point? */
  	/* unlikely--the vcache entry hasn't changed */
@@ -79,5 +79,5 @@
  #ifdef notyet
 diff --git a/src/afs/VNOPS/afs_vnop_access.c b/src/afs/VNOPS/afs_vnop_access.c
-index feb0ca7..ba818c7 100644
+index 0087073..df3e4ef 100644
 --- a/src/afs/VNOPS/afs_vnop_access.c
 +++ b/src/afs/VNOPS/afs_vnop_access.c
@@ -119,8 +119,8 @@
  }
 diff --git a/src/afs/VNOPS/afs_vnop_attrs.c b/src/afs/VNOPS/afs_vnop_attrs.c
-index d01aff2..0a38c1c 100644
+index 2eb228f..d5d6e4a 100644
 --- a/src/afs/VNOPS/afs_vnop_attrs.c
 +++ b/src/afs/VNOPS/afs_vnop_attrs.c
-@@ -88,8 +88,8 @@ afs_CopyOutAttrs(struct vcache *avc, struct vattr *attrs)
+@@ -90,8 +90,8 @@ afs_CopyOutAttrs(struct vcache *avc, struct vattr *attrs)
  	}
      }
@@ -134,5 +134,5 @@
  #elif defined(AFS_DARWIN80_ENV)
 diff --git a/src/afs/VNOPS/afs_vnop_lookup.c b/src/afs/VNOPS/afs_vnop_lookup.c
-index 5d96f75..7957eee 100644
+index d8205b6..5010486 100644
 --- a/src/afs/VNOPS/afs_vnop_lookup.c
 +++ b/src/afs/VNOPS/afs_vnop_lookup.c
@@ -151,8 +151,8 @@
  	osi_FreeLargeSpace(tname);
 diff --git a/src/afs/afs.h b/src/afs/afs.h
-index 88d5f77..61d3ee9 100644
+index 0dbc11b..ab6c0d9 100644
 --- a/src/afs/afs.h
 +++ b/src/afs/afs.h
-@@ -233,8 +233,16 @@ struct afs_slotlist {
+@@ -237,8 +237,16 @@ struct afs_slotlist {
      struct afs_slotlist *next;
  };
@@ -171,17 +171,17 @@
      afs_int32 flags;		/* things like O_SYNC, O_NONBLOCK go here */
      char initd;			/* if non-zero, Error fields meaningful */
-@@ -896,6 +904,7 @@ struct vcache {
-     struct afs_q multiPage;	/* list of multiPage_range structs */
+@@ -902,6 +910,7 @@ struct vcache {
+     spinlock_t pagewriter_lock;
+     struct list_head pagewriters;	/* threads that are writing vm pages */
  #endif
-     afs_uint32 lastBRLWarnTime; /* last time we warned about byte-range locks */
 +    int apache_access;		/* whether or not Apache has access to a file */
  };
  
- #define	DONT_CHECK_MODE_BITS	0
+ #ifdef AFS_LINUX26_ENV
 diff --git a/src/afs/afs_analyze.c b/src/afs/afs_analyze.c
-index 2ecd38e..95aafcd 100644
+index dea580b..6021cc2 100644
 --- a/src/afs/afs_analyze.c
 +++ b/src/afs/afs_analyze.c
-@@ -478,7 +478,7 @@ afs_Analyze(struct afs_conn *aconn, struct rx_connection *rxconn,
+@@ -482,7 +482,7 @@ afs_Analyze(struct afs_conn *aconn, struct rx_connection *rxconn,
  			 (afid ? afid->Fid.Volume : 0));
  	}
@@ -193,5 +193,5 @@
  	    areq->volumeError = VOLBUSY;
 diff --git a/src/afs/afs_osi_pag.c b/src/afs/afs_osi_pag.c
-index efce229..c1c1871 100644
+index afbb1cf..43ffdfd 100644
 --- a/src/afs/afs_osi_pag.c
 +++ b/src/afs/afs_osi_pag.c
@@ -222,8 +222,8 @@
  
 diff --git a/src/afs/afs_pioctl.c b/src/afs/afs_pioctl.c
-index e0a744d..c1c8c8c 100644
+index e9a84e3..047b3b5 100644
 --- a/src/afs/afs_pioctl.c
 +++ b/src/afs/afs_pioctl.c
-@@ -1420,6 +1420,10 @@ DECL_PIOCTL(PSetAcl)
+@@ -1422,6 +1422,10 @@ DECL_PIOCTL(PSetAcl)
      struct rx_connection *rxconn;
      XSTATS_DECLS;
@@ -236,7 +236,7 @@
      if (!avc)
  	return EINVAL;
-@@ -1806,6 +1810,10 @@ DECL_PIOCTL(PSetTokens)
-     struct vrequest treq;
+@@ -1809,6 +1813,10 @@ DECL_PIOCTL(PSetTokens)
      afs_int32 flag, set_parent_pag = 0;
+     int code;
  
 +    if (areq->uid == globalpag && areq->realuid != AFSAGENT_UID) {
@@ -247,5 +247,5 @@
      if (!afs_resourceinit_flag) {
  	return EIO;
-@@ -2266,6 +2274,11 @@ DECL_PIOCTL(PGetTokens)
+@@ -2273,6 +2281,11 @@ DECL_PIOCTL(PGetTokens)
      int newStyle;
      int code = E2BIG;
@@ -259,5 +259,5 @@
      if (!afs_resourceinit_flag)	/* afs daemons haven't started yet */
  	return EIO;		/* Inappropriate ioctl for device */
-@@ -2376,6 +2389,10 @@ DECL_PIOCTL(PUnlog)
+@@ -2383,6 +2396,10 @@ DECL_PIOCTL(PUnlog)
      afs_int32 i;
      struct unixuser *tu;
Index: /trunk/server/fedora/Makefile
===================================================================
--- /trunk/server/fedora/Makefile	(revision 2711)
+++ /trunk/server/fedora/Makefile	(revision 2712)
@@ -41,5 +41,5 @@
 
 dload		= ${PWD}/.dload
-openafs_url	= "http://www.openafs.org/dl/openafs/candidate/1.6.11pre2/openafs-1.6.11-0.pre2.src.rpm"
+openafs_url	= "http://www.openafs.org/dl/openafs/1.6.12/openafs-1.6.12-1.src.rpm"
 #zephyr_url	= "http://zephyr.1ts.org/files/zephyr-3.0.2.tar.gz"
 
Index: /trunk/server/fedora/specs/openafs.spec.patch
===================================================================
--- /trunk/server/fedora/specs/openafs.spec.patch	(revision 2711)
+++ /trunk/server/fedora/specs/openafs.spec.patch	(revision 2712)
@@ -1,14 +1,14 @@
---- openafs.spec.orig	2014-05-25 21:15:54.539027644 -0400
-+++ openafs.spec	2014-05-25 21:16:27.836268275 -0400
+--- openafs.spec.orig	2015-06-25 05:18:38.000000000 -0400
++++ openafs.spec	2015-07-13 21:41:31.196173273 -0400
 @@ -4,7 +4,7 @@
- %define pkgvers 1.6.11
+ %define pkgvers 1.6.12
  # for beta/rc releases make pkgrel 0.<tag>
  # for real releases make pkgrel 1 (or more for extra releases)
--%define pkgrel 0.pre2
-+%define pkgrel 0.pre2.99.scripts.%{scriptsversion}
+-%define pkgrel 1
++%define pkgrel 1.99.scripts.%{scriptsversion}
  
  %{!?fedorakmod: %define fedorakmod 1}
  %{!?build_dkmspkg: %define build_dkmspkg 1}
-@@ -249,9 +249,14 @@
+@@ -255,9 +255,14 @@
  %if %{build_modules}
  BuildRequires: kernel-devel
@@ -25,5 +25,5 @@
  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
-@@ -331,6 +338,7 @@
+@@ -337,6 +342,7 @@
  %if %{build_userspace}
  
@@ -33,5 +33,5 @@
  %if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
  Requires: systemd-units
-@@ -382,6 +390,7 @@
+@@ -388,6 +394,7 @@
  %package -n dkms-%{name}
  Summary:        DKMS-ready kernel source for AFS distributed filesystem
@@ -41,5 +41,5 @@
  %if %{fedorakmod}
  Provides: %{name}-kmod = %{version}
-@@ -403,6 +412,7 @@
+@@ -409,6 +416,7 @@
  
  %if %{build_authlibs}
@@ -49,5 +49,5 @@
  Group: Networking/Filesystems
  
-@@ -419,6 +429,7 @@
+@@ -425,6 +433,7 @@
  %endif
  
@@ -57,5 +57,5 @@
  Requires: openafs-authlibs = %{version}-%{release}
  %endif
-@@ -437,6 +448,7 @@
+@@ -443,6 +452,7 @@
  libraries.
  
@@ -65,5 +65,5 @@
  Group: Development/Filesystems
  Requires: openafs = %{version}-%{release}
-@@ -466,6 +478,7 @@
+@@ -472,6 +482,7 @@
  administrators.
  
@@ -73,5 +73,5 @@
  Group: Networking/Filesystems
  Provides: openafs-kernel = %{version}
-@@ -515,6 +528,7 @@
+@@ -521,6 +532,7 @@
  
  %if %{krb5support}
@@ -81,5 +81,5 @@
  Requires: openafs = %{version}
  Group: Networking/Filesystems
-@@ -541,7 +555,7 @@
+@@ -547,7 +559,7 @@
  %if %{build_modules}
  
@@ -90,5 +90,5 @@
  %else
  
-@@ -698,6 +712,10 @@
+@@ -704,6 +716,10 @@
  #%setup -q -n %{srcdir}
  %setup -q -b 1 -n %{srcdir}
@@ -101,5 +101,5 @@
  #
  # building
-@@ -871,6 +891,8 @@
+@@ -877,6 +893,8 @@
  %endif
  %endif
@@ -110,5 +110,5 @@
         --prefix=%{_prefix} \
         --libdir=%{_libdir} \
-@@ -1267,6 +1289,13 @@
+@@ -1273,6 +1291,13 @@
  rm -f $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so
  rm -f $RPM_BUILD_ROOT%{_libdir}/libafsauthent.so.*
