From: Chas Williams Date: Mon, 5 Sep 2005 17:29:54 +0000 (+0000) Subject: STABLE14-linux-root-no-reval-20050905 X-Git-Tag: openafs-stable-1_4_0-rc4~12 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=5d823c8841b8503ef9ada7ca1c9ea3efc56fb17a;p=packages%2Fo%2Fopenafs.git STABLE14-linux-root-no-reval-20050905 don't revalidate the root afs vnode, so if root.afs becomes replicated out from under us we don't lose. (cherry picked from commit 46e69c150286793e0c2238af01b8d4637b95dd54) --- diff --git a/src/afs/afs_daemons.c b/src/afs/afs_daemons.c index 7ee41b7ac..dcb3d46cd 100644 --- a/src/afs/afs_daemons.c +++ b/src/afs/afs_daemons.c @@ -309,8 +309,12 @@ afs_CheckRootVolume(void) * count to zero and fs checkv is executed when the current * directory is /afs. */ +#ifdef AFS_LINUX20_ENV + printk("afs_CheckVolume(): afs_root changed.\n"); +#else AFS_FAST_RELE(afs_globalVp); afs_globalVp = 0; +#endif } afs_rootFid.Fid.Volume = volid; afs_rootFid.Fid.Vnode = 1;