]> git.decadent.org.uk Git - nfs-utils.git/commit
sm-notify: Save mon_name and my_name strings
authorChuck Lever <chuck.lever@oracle.com>
Thu, 14 Jan 2010 17:23:48 +0000 (12:23 -0500)
committerSteve Dickson <steved@redhat.com>
Fri, 15 Jan 2010 19:55:51 +0000 (14:55 -0500)
commitd56192a1e4ddb962f961721b1c5d094696b2d206
treef90c5585d3553b1024ccdb79dad7a45fe11fac97
parentd5836a3c08b1b43afc78b18e0c06bab6d89be3b1
sm-notify: Save mon_name and my_name strings

Currently sm-notify does not use the mon_name and my_name strings
passed to smn_get_host().  Very soon we're going to need the mon_name
and my_name strings, so add code to store those strings in struct
nsm_host, and free them when each host is forgotten.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
utils/statd/sm-notify.c