]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
SUNRPC: Allocate a private data area for socket-specific rpc_xprt fields
authorChuck Lever <chuck.lever@oracle.com>
Tue, 5 Dec 2006 21:35:11 +0000 (16:35 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 6 Dec 2006 15:46:48 +0000 (10:46 -0500)
commitffc2e518c91942b7ed45fb0ab7deba1ba0c8594a
tree64d712342ceb16e273fa242a9898f7af7d3d04c5
parent94efa93435383b08d822a40f24ff6f6ce1a888df
SUNRPC: Allocate a private data area for socket-specific rpc_xprt fields

When setting up a new transport instance, allocate enough memory for an
rpc_xprt and a private area.  As part of the same memory allocation, it
will be easy to find one, given a pointer to the other.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprtsock.c