]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Zero out the "allocated" flag so that we don't accidentally
authorNathan Neulinger <nneul@umr.edu>
Sun, 21 Apr 2002 20:54:17 +0000 (20:54 +0000)
committerGarry Zacheiss <zacheiss@mit.edu>
Sun, 21 Apr 2002 20:54:17 +0000 (20:54 +0000)
free something that wasn't allocated.

(cherry picked from commit c360bb35ce506ad9ab425fea43b96a708e0ed1d9)

src/afs/LINUX/osi_vnodeops.c

index ff96e4ec42a3d5e50384497107cebe56109b1505..b609a01bceb399554759a799b67d49dd6f776900 100644 (file)
@@ -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;