X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fobdfilter%2Ffilter_log.c;h=e32bea29856a25a57a8d18b5f6de6b6737891926;hb=refs%2Ftags%2F1.10.0.41a;hp=a8caad3b824d3b89fc77047049b56fc9cd1458dc;hpb=2df78a6bed71281526a86611e30bfb11b2f545a3;p=fs%2Flustre-release.git diff --git a/lustre/obdfilter/filter_log.c b/lustre/obdfilter/filter_log.c index a8caad3..e32bea2 100644 --- a/lustre/obdfilter/filter_log.c +++ b/lustre/obdfilter/filter_log.c @@ -259,9 +259,9 @@ int filter_recov_log_mds_ost_cb(struct llog_handle *llh, RETURN(LLOG_PROC_BREAK); if (rec == NULL) { - spin_lock_bh(&ctxt->loc_obd->obd_processing_task_lock); + cfs_spin_lock_bh(&ctxt->loc_obd->obd_processing_task_lock); ctxt->loc_obd->u.filter.fo_mds_ost_sync = 0; - spin_unlock_bh(&ctxt->loc_obd->obd_processing_task_lock); + cfs_spin_unlock_bh(&ctxt->loc_obd->obd_processing_task_lock); RETURN(0); }