Whamcloud - gitweb
b=1111
authorpschwan <pschwan>
Sat, 12 Apr 2003 17:41:41 +0000 (17:41 +0000)
committerpschwan <pschwan>
Sat, 12 Apr 2003 17:41:41 +0000 (17:41 +0000)
- 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

lustre/cobd/cache_obd.c

index c4c0494..5b27a28 100644 (file)
@@ -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;