summaryrefslogtreecommitdiffstats
path: root/utils/statd/rmtcall.c
diff options
context:
space:
mode:
authorneilbrown <neilbrown>2004-09-06 02:15:04 +0000
committerneilbrown <neilbrown>2004-09-06 02:15:04 +0000
commitaf93e0306d87bba3f703386fd6390e9bf8e76816 (patch)
treeec1caa91d3ccb07af6bd36ff583148390e56ea1d /utils/statd/rmtcall.c
parent2c91715a9c8dbf18df1666f70e78d6e36e123ca0 (diff)
downloadnfs-utils-af93e0306d87bba3f703386fd6390e9bf8e76816.tar.gz
nfs-utils-af93e0306d87bba3f703386fd6390e9bf8e76816.tar.xz
nfs-utils-af93e0306d87bba3f703386fd6390e9bf8e76816.zip
Support --ha-callout for high-availability callouts
Diffstat (limited to 'utils/statd/rmtcall.c')
-rw-r--r--utils/statd/rmtcall.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/statd/rmtcall.c b/utils/statd/rmtcall.c
index 2997254..911a932 100644
--- a/utils/statd/rmtcall.c
+++ b/utils/statd/rmtcall.c
@@ -38,6 +38,7 @@
#include "statd.h"
#include "notlist.h"
#include "log.h"
+#include "ha-callout.h"
#define MAXMSGSIZE (2048 / sizeof(unsigned int))
@@ -414,6 +415,8 @@ process_notify_list(void)
note(N_ERROR,
"Can't notify %s, giving up.",
NL_MON_NAME(entry));
+ /* PRC: do the HA callout */
+ ha_callout("del-client", NL_MON_NAME(entry), NL_MY_NAME(entry), -1);
xunlink(SM_BAK_DIR, NL_MON_NAME(entry), 0);
nlist_free(&notify, entry);
}