From d0988635e04eee66da97e25ad65498b68966f582 Mon Sep 17 00:00:00 2001 From: vitaly Date: Wed, 27 Sep 2006 18:27:58 +0000 Subject: [PATCH] Branch b_new_cmd drop NOSPC flag on unlink --- lustre/mdd/mdd_handler.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lustre/mdd/mdd_handler.c b/lustre/mdd/mdd_handler.c index df3b80c..cc262ab 100644 --- a/lustre/mdd/mdd_handler.c +++ b/lustre/mdd/mdd_handler.c @@ -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); -- 1.8.3.1