Whamcloud - gitweb
LU-12657 llite: forget cached ACLs properly
[fs/lustre-release.git] / lnet / selftest / console.h
index 641f9be..09cd0e8 100644 (file)
@@ -39,6 +39,7 @@
 #ifndef __LST_CONSOLE_H__
 #define __LST_CONSOLE_H__
 
+#include <linux/uaccess.h>
 
 #include <libcfs/libcfs.h>
 #include <lnet/lib-types.h>
@@ -52,7 +53,7 @@ struct lstcon_node {
         int                  nd_ref;         /* reference count */
         int                  nd_state;       /* state of the node */
         int                  nd_timeout;     /* session timeout */
-        cfs_time_t           nd_stamp;       /* timestamp of last replied RPC */
+       ktime_t                 nd_stamp;       /* last RPC reply timestamp */
        struct lstcon_rpc       nd_ping;        /* ping rpc */
 };
 
@@ -255,6 +256,8 @@ extern int lstcon_test_add(char *batch_name, int type, int loop,
                           void *param, int paramlen, int *retp,
                           struct list_head __user *result_up);
 
+int lstcon_ioctl_entry(struct notifier_block *nb,
+                      unsigned long cmd, void *vdata);
 int lstcon_console_init(void);
 int lstcon_console_fini(void);