]> git.baikalelectronics.ru Git - kernel.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)
commit3426de377edb1536e358c789b3032522edea381d
tree64d712342ceb16e273fa242a9898f7af7d3d04c5
parentb1fa033cc18a0917d840c68b63043121fb1408f0
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