From 5d823c8841b8503ef9ada7ca1c9ea3efc56fb17a Mon Sep 17 00:00:00 2001 From: Chas Williams Date: Mon, 5 Sep 2005 17:29:54 +0000 Subject: [PATCH] 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) --- src/afs/afs_daemons.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.39.5