sunrpc: Factor out v4 sockets creation
authorPavel Emelyanov <xemul@parallels.com>
Mon, 4 Oct 2010 12:54:26 +0000 (16:54 +0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 19 Oct 2010 14:48:14 +0000 (10:48 -0400)
commit22f793268de3b4dff8abfcd873ba7afc1f34224f
tree0e67fb80ab92a83a07cfe2b21648e80e44a281ed
parentb65c0310611af73569f94c526a1e2323d99b380a
sunrpc: Factor out v4 sockets creation

The UDPv4 and TCPv4 socket creation callbacks now look very similar.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtsock.c