From: pschwan Date: Sat, 12 Apr 2003 17:41:41 +0000 (+0000) Subject: b=1111 X-Git-Tag: v1_7_100~1^368~118 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=c44efa2d8d09ea02ce1515cfddba212a63100294;p=fs%2Flustre-release.git b=1111 - Pass 'force' down to all of the cleanup methods, instead of just having special meaning for exports - in ldlm_cleanup, if forcing, remove the ldlm hooks from ptlrpc so we can unload the ldlm module --- diff --git a/lustre/cobd/cache_obd.c b/lustre/cobd/cache_obd.c index c4c0494..5b27a28 100644 --- a/lustre/cobd/cache_obd.c +++ b/lustre/cobd/cache_obd.c @@ -87,7 +87,7 @@ cobd_setup (struct obd_device *dev, obd_count len, void *buf) } static int -cobd_cleanup (struct obd_device *dev) +cobd_cleanup (struct obd_device *dev, int force) { struct cache_obd *cobd = &dev->u.cobd; int rc;