From: Nathan Neulinger Date: Thu, 14 Mar 2002 19:50:48 +0000 (+0000) Subject: Zero out the "allocated" flag so that we don't accidentally X-Git-Tag: openafs-devel_1_3_3~189 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c360bb35ce506ad9ab425fea43b96a708e0ed1d9;p=packages%2Fo%2Fopenafs.git Zero out the "allocated" flag so that we don't accidentally free something that wasn't allocated. --- 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;