From 9455ce6416f25885349fe31d009b02e3b6027f9c Mon Sep 17 00:00:00 2001 From: alex <alex> Date: Fri, 2 Sep 2005 19:31:56 +0000 Subject: [PATCH] b=7272 - more debug to catch the case --- lustre/mds/mds_reint.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lustre/mds/mds_reint.c b/lustre/mds/mds_reint.c index 4377f09753..df89cdb088 100644 --- a/lustre/mds/mds_reint.c +++ b/lustre/mds/mds_reint.c @@ -2148,11 +2148,18 @@ static int mds_reint_unlink_remote(struct mds_update_record *rec, if (IS_ERR(handle)) GOTO(cleanup, rc = PTR_ERR(handle)); rc = fsfilt_del_dir_entry(req->rq_export->exp_obd, dchild); + if (rc) + CERROR("can't remove direntry: %d\n", rc); rc = mds_finish_transno(mds, dparent->d_inode, handle, req, rc, 0); + if (rc) + CERROR("can't finish transno: %d\n", rc); } EXIT; cleanup: + if (rc) + CERROR("can't unlink inode "DLID4": %d\n", + OLID4(&op_data->id1), rc); req->rq_status = rc; #ifdef S_PDIROPS -- GitLab