[OpenAFS] Re: [OpenAFS-announce] OpenAFS 1.4.7 release candidate 1 available

Russ Allbery rra@stanford.edu
Wed, 26 Mar 2008 19:22:40 -0700


Derrick J Brashear <shadow@openafs.org> writes:

> Notable changes include updates for newer Linux kernels (including
> 2.6.25), Solaris 11 client support updates, and updated MacOS X support,
> a fix for a potential fileserver deadlock, as well as improvements to
> the host tracking in the fileserver and updates to ubik to prevent
> database truncation when network links between database servers are
> unreliable.

Note that if you're running Linux 2.6.24, you also want
STABLE14-linux-restore-iget-cachemgr-20080326:

--- openafs.orig/src/afs/LINUX/osi_file.c
+++ openafs/src/afs/LINUX/osi_file.c
@@ -64,6 +64,10 @@
     memset(afile, 0, sizeof(struct osi_file));
 #if defined(HAVE_IGET)
     tip = iget(afs_cacheSBp, (u_long) ainode);
+    if (!tip)
+       osi_Panic("Can't get inode %d\n", ainode);
+
+    dp = d_alloc_anon(tip);
 #else
     fid.i32.ino = ainode;
     fid.i32.gen = 0;

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>