Whamcloud - gitweb
WARNING: we currently crash on unmount after the last phase of runtests.
[fs/lustre-release.git] / lustre / include / linux / lustre_lib.h
index 62edf8c..a166ee9 100644 (file)
@@ -29,6 +29,7 @@
 # include <string.h>
 #else
 # include <asm/semaphore.h>
+#include <linux/kp30.h> /* XXX just for LASSERT! */
 #endif
 #include <linux/portals_lib.h>
 #include <linux/lustre_idl.h>
@@ -37,6 +38,8 @@
 /* l_net.c */
 struct ptlrpc_request;
 struct obd_device;
+struct recovd_data;
+
 int target_handle_connect(struct ptlrpc_request *req);
 int target_handle_disconnect(struct ptlrpc_request *req);
 int client_obd_connect(struct lustre_handle *conn, struct obd_device *obd,
@@ -46,6 +49,8 @@ int client_obd_setup(struct obd_device *obddev, obd_count len, void *buf);
 int client_obd_cleanup(struct obd_device * obddev);
 struct client_obd *client_conn2cli(struct lustre_handle *conn); 
 
+int target_revoke_connection(struct recovd_data *rd, int phase);
+
 /* l_lock.c */
 struct lustre_lock { 
         int l_depth;