summaryrefslogtreecommitdiffstats
path: root/utils/statd/misc.c
Commit message (Collapse)AuthorAgeFilesLines
* statd: Use the new nsm_ file.c calls in rpc.statdChuck Lever2010-01-121-24/+0
| | | | | | | | | | Replace open-coded accesses to on-disk NSM information in rpc.statd with calls to the new API. Behavior should be much the same as it was before. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* statd: Replace note() with xlog() in rpc.statdChuck Lever2009-11-241-7/+5
| | | | | | | | | | | To facilitate code sharing between statd and sm-notify (and with other components of nfs-utils), replace sm-notify's nsm_log() with xlog(). Since opt_quiet is used in only a handful of insignificant cases, it is removed. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* statd: not unlinking host filesSteve Dickson2008-12-171-14/+16
| | | | | | | | | | | | | | | Statd is not unlinking host files during SM_UNMON and SM_UNMON_ALL calls because the given host is still on the run-time notify list (rtnl) and the check flag is set when xunlink() is called. But the next thing the caller of xunlink() does is remove the host from the rtnl list which means the unlink will never happen. So this patch removes the check flag from xunlink() since its not needed and correctly allocates and frees memory used by xunlink(). Signed-off-by: Steve Dickson <steved@redhat.com>
* Autogen updateneilbrown2005-12-201-1/+3
|
* Rename statd log() to note() to avoid conflict with ISO C.chip2003-08-221-3/+3
|
* 2000-07-04 H.J. Lu <hjl@lucon.org>hjl2000-07-051-1/+2
| | | | | | | * utils/statd/log.c: Include <stdlib.h> for exit (). * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the gcc warning.
* Initial revisionhjl1999-10-181-0/+72