diff options
author | neilbrown <neilbrown> | 2004-09-06 02:15:04 +0000 |
---|---|---|
committer | neilbrown <neilbrown> | 2004-09-06 02:15:04 +0000 |
commit | af93e0306d87bba3f703386fd6390e9bf8e76816 (patch) | |
tree | ec1caa91d3ccb07af6bd36ff583148390e56ea1d /utils/statd/rmtcall.c | |
parent | 2c91715a9c8dbf18df1666f70e78d6e36e123ca0 (diff) | |
download | nfs-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.c | 3 |
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(¬ify, entry); } |