Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rpc.statd: Clean up: replace "if (!(foo = rtnl))". | Chuck Lever | 2008-09-26 | 1 | -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 warnings | Neil Brown | 2007-04-03 | 1 | -0/+2 |
| | |||||
* | statd - use dnsname to ensure correct matching of NOTIFY requests. | Neil Brown | 2007-03-29 | 1 | -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-notify | Neil Brown | 2007-03-20 | 1 | -1/+0 |
| | | | | | statd now execs sm-notify to notify peers and only listens to monitor requests and remote notifications itself. | ||||
* | Autogen update | neilbrown | 2005-12-20 | 1 | -1/+3 |
| | |||||
* | Rename statd log() to note() to avoid conflict with ISO C. | chip | 2003-08-22 | 1 | -2/+2 |
| | |||||
* | Fixed bug preventing callbacks to local lockd. | lon | 2000-10-24 | 1 | -3/+7 |
| | |||||
* | Initial revision | hjl | 1999-10-18 | 1 | -0/+53 |