lockd: Use sockaddr_storage + length for h_addr field
authorChuck Lever <chuck.lever@oracle.com>
Wed, 3 Sep 2008 18:35:39 +0000 (14:35 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 29 Sep 2008 22:13:39 +0000 (18:13 -0400)
commitb4ed58fd34d4def88bda59f9cc566ec9fca6a096
treece377f9ec8773a26e4a967e7d73d42e99d39b0ea
parent5344b12d4f97d4a9a62d806425977a6ff64b6baf
lockd: Use sockaddr_storage + length for h_addr field

To store larger addresses in the nlm_host structure, make h_addr a
sockaddr_storage, and add an address length field.

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
include/linux/lockd/lockd.h