summaryrefslogtreecommitdiffstats
path: root/utils/statd/statd.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2007-03-29 13:07:48 +1000
committerNeil Brown <neilb@suse.de>2007-03-29 13:07:48 +1000
commit7b01c4762ae242d2114cc6a59994f678b7d253fc (patch)
tree6c89535039e10d05d2ebd1a2478edb3b4e38f139 /utils/statd/statd.h
parent03534540a25fe4c0679928a2f3f023e596c78dc4 (diff)
downloadnfs-utils-7b01c4762ae242d2114cc6a59994f678b7d253fc.tar.gz
nfs-utils-7b01c4762ae242d2114cc6a59994f678b7d253fc.tar.xz
nfs-utils-7b01c4762ae242d2114cc6a59994f678b7d253fc.zip
statd - keep persistent state in sm/* files.
If statd dies and is restarted, it forgets what peers the kernel is interested in monitoring, and so will not forward NOTIFY requests properly. With this patch the required information is recorded in the files in /var/lib/nfs/sm/* so that a kill/restart does what you might hope. Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'utils/statd/statd.h')
-rw-r--r--utils/statd/statd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/statd/statd.h b/utils/statd/statd.h
index 441eaaa..b7ea40b 100644
--- a/utils/statd/statd.h
+++ b/utils/statd/statd.h
@@ -54,6 +54,7 @@ extern int process_reply(FD_SET_TYPE *);
extern char * xstrdup(const char *);
extern void * xmalloc(size_t);
extern void xunlink (char *, char *, short int);
+extern void load_state(void);
/*
* Host status structure and macros.