Whamcloud - gitweb
b=1228
authorpschwan <pschwan>
Fri, 6 Jun 2003 19:09:42 +0000 (19:09 +0000)
committerpschwan <pschwan>
Fri, 6 Jun 2003 19:09:42 +0000 (19:09 +0000)
More debugging: pass the real inode down from ll_clear_inode, so we
can determine in cancel_unused whether the lock's data pointer is wrong

lustre/ldlm/ldlm_internal.h [new file with mode: 0644]
lustre/ldlm/ldlm_lib.c
lustre/llite/llite_internal.h [new file with mode: 0644]

diff --git a/lustre/ldlm/ldlm_internal.h b/lustre/ldlm/ldlm_internal.h
new file mode 100644 (file)
index 0000000..b8bfdac
--- /dev/null
@@ -0,0 +1 @@
+int ldlm_cancel_lru(struct ldlm_namespace *ns);
index 88c29d7..735e383 100644 (file)
@@ -144,7 +144,7 @@ int client_import_disconnect(struct lustre_handle *dlm_handle, int failover)
         if (obd->obd_namespace != NULL) {
                 /* obd_no_recov == local only */
                 ldlm_cli_cancel_unused(obd->obd_namespace, NULL,
-                                       obd->obd_no_recov);
+                                       obd->obd_no_recov, NULL);
                 ldlm_namespace_free(obd->obd_namespace);
                 obd->obd_namespace = NULL;
         }
diff --git a/lustre/llite/llite_internal.h b/lustre/llite/llite_internal.h
new file mode 100644 (file)
index 0000000..e53b605
--- /dev/null
@@ -0,0 +1,2 @@
+int ll_mdc_cancel_unused(struct lustre_handle *conn, struct inode *inode,
+                         int flags, void *opaque);