summaryrefslogtreecommitdiffstats
path: root/utils/statd/callback.c
Commit message (Collapse)AuthorAgeFilesLines
* rpc.statd: Clean up: replace "if (!(foo = rtnl))".Chuck Lever2008-09-261-4/+2
| | | | | | | | | | | | Static code checkers flag this kind of thing because it's easy to confuse with "if (!(foo == rtnl))". In one of these cases, the combination of evaluation and assignment isn't even necessary. While we are in the neighborhood, remove an extra argument to note() that is not called for in the passed-in format string. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* statd - fix some compile warningsNeil Brown2007-04-031-0/+2
|
* statd - use dnsname to ensure correct matching of NOTIFY requests.Neil Brown2007-03-291-4/+7
| | | | | | | | | | | | | | | When lockd asks to monitor a host, we find the FQDN from the DNS and remember that, both internally and in the /var/lib/nfs/sm/* file. When we receive an SM_NOTIFY request, we compare both the mon_name and the source IP address against that DNS name to find a match. If a DNS name is not available, we fall back to the name provided by lockd, which at least is known to map to an IP address via gethostbyname. Signed-off-by: Neil Brown <neilb@suse.de>
* Remove notify functionality from statd in favour of sm-notifyNeil Brown2007-03-201-1/+0
| | | | | statd now execs sm-notify to notify peers and only listens to monitor requests and remote notifications itself.
* Autogen updateneilbrown2005-12-201-1/+3
|
* Rename statd log() to note() to avoid conflict with ISO C.chip2003-08-221-2/+2
|
* Fixed bug preventing callbacks to local lockd.lon2000-10-241-3/+7
|
* Initial revisionhjl1999-10-181-0/+53