2007-04-18 15:38:28

by Wendy Cheng

[permalink] [raw]
Subject: [PATCH] nfs-utils-1.1.0-rc1 - sm_unmon_1_svc should use dnsname

The sm_unmon_1_svc() should have used dnsname.

Signed-off-by: S. Wendy Cheng <[email protected]>

--- nfs-utils-1.1.0-rc1/utils/statd/monitor.c 2007-03-28 23:55:33.000000000 -0400
+++ nfs-utils-t/utils/statd/monitor.c 2007-04-18 10:59:34.000000000 -0400
@@ -357,7 +357,7 @@ sm_unmon_1_svc(struct mon_id *argp, stru
ha_callout("del-client", mon_name, my_name, -1);

nlist_free(&rtnl, clnt);
- xunlink(SM_DIR, mon_name, 1);
+ xunlink(SM_DIR, clnt->dns_name, 1);

return (&result);
} else



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs