Skip to content
Snippets Groups Projects
Commit 6f952679 authored by Isaac Huang's avatar Isaac Huang
Browse files

- added sfw_set_session_timeout to set session_timeout from userland.

parent 03fe49ee
No related branches found
No related tags found
No related merge requests found
......@@ -215,6 +215,12 @@ sfw_session_removed (void)
return (sfw_data.fw_session == NULL) ? 1 : 0;
}
void
sfw_set_session_timeout (int timeout)
{
session_timeout = timeout;
}
#endif
void
......
......@@ -516,6 +516,8 @@ swi_state2str (int state)
#ifndef __KERNEL__
int stt_poll_interval(void);
int sfw_session_removed(void);
void sfw_set_session_timeout(int timeout);
int stt_check_events(void);
int swi_check_events(void);
......
......@@ -21,8 +21,6 @@ static int lstjn_intialized = 0;
unsigned int libcfs_subsystem_debug = ~0 - (S_LNET | S_LND);
unsigned int libcfs_debug = 0;
extern int sfw_session_removed(void);
static struct option lstjn_options[] =
{
{"sesid", required_argument, 0, 's' },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment