]> git.decadent.org.uk Git - nfs-utils.git/commit
mount.nfs: Create a new API to find out client's address
authorChuck Lever <chuck.lever@oracle.com>
Fri, 24 Aug 2007 17:11:38 +0000 (13:11 -0400)
committerNeil Brown <neilb@suse.de>
Fri, 24 Aug 2007 22:19:33 +0000 (08:19 +1000)
commit7be7916adf72d09170e86ffeabbf8288ff0063e6
treee588c594055abec3d08054dde96f91c0a612bcd8
parentb4c9ca0c8b132f36743e324766b8532eb623e98e
mount.nfs: Create a new API to find out client's address

Provide a version of clnt_ping() that discovers the client's address, but
doesn't do an RPC ping.  The in-kernel text-based mount code already does
a ping, so all we need here is address discovery.

As well, add a block comment in front of clnt_ping() that hopefully
elucidates the differences.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Neil Brown <neilb@suse.de>
utils/mount/network.c
utils/mount/network.h