ceph: fix creation of ipv6 sockets
authorSage Weil <sage@newdream.net>
Thu, 1 Jul 2010 22:18:31 +0000 (15:18 -0700)
committerSage Weil <sage@newdream.net>
Fri, 9 Jul 2010 22:00:20 +0000 (15:00 -0700)
commitf91d3471ccf1ca9a795f46c94b1ded8dd219940c
tree7a8d496d69ad9dd7a206183d11f5719b7161e6a7
parent39139f64e14684cf2370770deb79d929d27cfd9b
ceph: fix creation of ipv6 sockets

Use the address family from the peer address instead of assuming IPv4.

Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/messenger.c