lockd: Pass "struct sockaddr *" to new failover-by-IP function
authorChuck Lever <chuck.lever@oracle.com>
Mon, 30 Jun 2008 22:58:14 +0000 (18:58 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 15 Jul 2008 20:11:29 +0000 (16:11 -0400)
commit367c8c7bd9a2882daad6c9cb607e1db8ef781ad4
tree67fc93454ea9b3db1f6456cb6d6c255fe0c08178
parent560de0e65904db392e1c443c4bf5ee750573336b
lockd: Pass "struct sockaddr *" to new failover-by-IP function

Pass a more generic socket address type to nlmsvc_unlock_all_by_ip() to
allow for future support of IPv6.  Also provide additional sanity
checking in failover_unlock_ip() when constructing the server's IP
address.

As an added bonus, provide clean kerneldoc comments on related NLM
interfaces which were recently added.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/lockd/svcsubs.c
fs/nfsd/nfsctl.c
include/linux/lockd/lockd.h