]> 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>
Thu, 14 Mar 2002 19:50:48 +0000 (19:50 +0000)
committerNickolai Zeldovich <kolya@mit.edu>
Thu, 14 Mar 2002 19:50:48 +0000 (19:50 +0000)
free something that wasn't allocated.

src/afs/LINUX/osi_vnodeops.c

index 38254dcdb2bc4e0a5edd6c86cc3f75ea3c13ee75..4d369478b1a1e5ca23adbadfdae050c6bd38e610 100644 (file)
@@ -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;