]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
lockd: Teach nlm_cmp_addr() to support AF_INET6 addresses
authorChuck Lever <chuck.lever@oracle.com>
Wed, 3 Sep 2008 18:36:01 +0000 (14:36 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 29 Sep 2008 22:13:39 +0000 (18:13 -0400)
commit781b61a6f4ff94cb8c14cf598b547f5d5c490969
tree166288be121563b77c3672b311bbbe2541de3bd3
parent7e9d7746bfd40121438b155023793796499497d8
lockd: Teach nlm_cmp_addr() to support AF_INET6 addresses

Update the nlm_cmp_addr() helper to support AF_INET6 as well as AF_INET
addresses.  New version takes two "struct sockaddr *" arguments instead of
"struct sockaddr_in *" arguments.

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