Whamcloud - gitweb
Branch: b_new_cmd
authorwangdi <wangdi>
Mon, 31 Jul 2006 16:42:57 +0000 (16:42 +0000)
committerwangdi <wangdi>
Mon, 31 Jul 2006 16:42:57 +0000 (16:42 +0000)
remove this finish req, which will be handled later. otherwise,
it will cause oops in later req finished

lustre/llite/dcache.c

index d7f039a..d0e890c 100644 (file)
@@ -136,10 +136,6 @@ void ll_intent_release(struct lookup_intent *it)
         ll_intent_drop_lock(it);
         it->it_magic = 0;
         it->it_op_release = 0;
-        /* We are still holding extra reference on a request, need to free it */
-        if (it_disposition(it, DISP_ENQ_COMPLETE))
-                ptlrpc_req_finished(it->d.lustre.it_data);
-
         it->d.lustre.it_disposition = 0;
         it->d.lustre.it_data = NULL;
         EXIT;