Whamcloud - gitweb
recovery-small 21 LBUG: don't release intent for open etc. (maybe the
authorericm <ericm>
Wed, 11 May 2005 01:18:32 +0000 (01:18 +0000)
committerericm <ericm>
Wed, 11 May 2005 01:18:32 +0000 (01:18 +0000)
same problem of bug 6273?)

lustre/llite/dcache.c

index c8570be..efd02c0 100644 (file)
@@ -528,7 +528,8 @@ out:
 
         ll_lookup_finish_locks(it, de);
         de->d_flags &= ~DCACHE_LUSTRE_INVALID;
-        ll_intent_release(it);
+        if (it == &lookup_it)
+                ll_intent_release(it);
         return rc;
 do_lookup:
         it = &lookup_it;