From: Nathan Neulinger Date: Sun, 21 Apr 2002 20:54:17 +0000 (+0000) Subject: Zero out the "allocated" flag so that we don't accidentally X-Git-Tag: openafs-stable-1_2_4~44 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=15635b30a5438c7fc8aafcdbf37cecad2fb357d6;p=packages%2Fo%2Fopenafs.git Zero out the "allocated" flag so that we don't accidentally free something that wasn't allocated. (cherry picked from commit c360bb35ce506ad9ab425fea43b96a708e0ed1d9) --- diff --git a/src/afs/LINUX/osi_vnodeops.c b/src/afs/LINUX/osi_vnodeops.c index ff96e4ec4..b609a01bc 100644 --- a/src/afs/LINUX/osi_vnodeops.c +++ b/src/afs/LINUX/osi_vnodeops.c @@ -710,6 +710,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;