From c360bb35ce506ad9ab425fea43b96a708e0ed1d9 Mon Sep 17 00:00:00 2001 From: Nathan Neulinger Date: Thu, 14 Mar 2002 19:50:48 +0000 Subject: [PATCH] Zero out the "allocated" flag so that we don't accidentally free something that wasn't allocated. --- src/afs/LINUX/osi_vnodeops.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index 38254dcdb..4d369478b 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -807,6 +807,8 @@ static int afs_linux_dentry_revalidate(struct dentry *dp) AFS_GLOCK(); + sysState.allocked = 0; + /* If it's a negative dentry, then there's nothing to do. */ if (!vcp || !parentvcp) goto done; -- 2.39.5