From: nathan Date: Tue, 31 Jul 2007 15:54:20 +0000 (+0000) Subject: b=13175 X-Git-Tag: v1_8_0_110~1400 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=34d8b6bcd914fbd2d5d48d73ee14a74a002a8e4b;p=fs%2Flustre-release.git b=13175 i=green i=adilger Fix for 12860 - only notify if not stopping/cleaned. --- diff --git a/lustre/mds/mds_lov.c b/lustre/mds/mds_lov.c index 1a2b681..c16a977 100644 --- a/lustre/mds/mds_lov.c +++ b/lustre/mds/mds_lov.c @@ -731,8 +731,10 @@ out: /* Deactivate it for safety */ CERROR("%s sync failed %d, deactivating\n", obd_uuid2str(uuid), rc); - obd_notify(mds->mds_osc_obd, watched, OBD_NOTIFY_INACTIVE, - NULL); + if (!obd->obd_stopping && mds->mds_osc_obd && + !mds->mds_osc_obd->obd_stopping && !watched->obd_stopping) + obd_notify(mds->mds_osc_obd, watched, + OBD_NOTIFY_INACTIVE, NULL); } else { /* We've successfully synced at least 1 OST and are ready to handle client requests */