Whamcloud - gitweb
Branch b_new_cmd
authorvitaly <vitaly>
Wed, 27 Sep 2006 18:27:58 +0000 (18:27 +0000)
committervitaly <vitaly>
Wed, 27 Sep 2006 18:27:58 +0000 (18:27 +0000)
drop NOSPC flag on unlink

lustre/mdd/mdd_handler.c

index df3b80c..cc262ab 100644 (file)
@@ -1588,6 +1588,11 @@ static int mdd_unlink(const struct lu_context *ctxt,
                 GOTO(cleanup, rc);
 
         rc = __mdd_finish_unlink(ctxt, mdd_cobj, ma, handle);
+        
+        if (rc == 0)
+                obd_set_info_async(mdd2obd_dev(mdd)->u.mds.mds_osc_exp,
+                                   strlen("unlinked"), "unlinked", 0,
+                                   NULL, NULL);
 
 cleanup:
         mdd_unlock2(ctxt, mdd_pobj, mdd_cobj);