linux-dont-d-drop-in-revalidate-20010416
authorChaskiel M Grundman <cg2v@andrew.cmu.edu>
Mon, 16 Apr 2001 19:11:04 +0000 (19:11 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 16 Apr 2001 19:11:04 +0000 (19:11 +0000)
calling d_drop ends up precluding shrink_dcache_parent; don't call it

src/afs/LINUX/osi_vnodeops.c

index 17b63a7..8127597 100644 (file)
@@ -730,7 +730,8 @@ out_valid:
     return 1;
 
 out_bad:
-    d_drop(dp);
+    /* d_drop(dp); Let cached_lookup do this so shrink_dcache_parent 
+       is called */
 #ifdef AFS_LINUX24_ENV
     unlock_kernel();
 #endif