From e7e8f9e1323ba0847cc969d227c530c2c83aae59 Mon Sep 17 00:00:00 2001 From: yury Date: Fri, 6 Oct 2006 14:35:15 +0000 Subject: [PATCH] - revert back wrong commit about obd->obd_upcall.onu_owner --- lustre/mds/mds_lov.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lustre/mds/mds_lov.c b/lustre/mds/mds_lov.c index 890579f..3d66ec8 100644 --- a/lustre/mds/mds_lov.c +++ b/lustre/mds/mds_lov.c @@ -719,14 +719,14 @@ static int __mds_lov_synchronize(void *data) GOTO(out, rc); } - if (watched->obd_upcall.onu_owner) { + if (obd->obd_upcall.onu_owner) { /* - * This is an hack for mds_notify->mdd_notify, When the mds obd + * This is a hack for mds_notify->mdd_notify. When the mds obd * in mdd is removed, This hack should be removed. */ - LASSERT(watched->obd_upcall.onu_upcall != NULL); - rc = watched->obd_upcall.onu_upcall(NULL, NULL, 0, - watched->obd_upcall.onu_owner); + LASSERT(obd->obd_upcall.onu_upcall != NULL); + rc = obd->obd_upcall.onu_upcall(NULL, NULL, 0, + obd->obd_upcall.onu_owner); } EXIT; out: -- 1.8.3.1