diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-06-07 19:31:36 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-07-11 03:40:32 (GMT) |
commit | 6e84c7b66a0aa0be16a7728d1e687c57978dac2c (patch) | |
tree | 0aa7ab3d44b1749dca78d554f1d18a5b6fad43ff /net/sunrpc/rpc_pipe.c | |
parent | 3b68aaeaf54065e5c44583a1d33ffb7793953ba4 (diff) | |
download | linux-fsl-qoriq-6e84c7b66a0aa0be16a7728d1e687c57978dac2c.tar.xz |
SUNRPC: Add a downcall queue to struct rpc_inode
Currently, the downcall queue is tied to the struct gss_auth, which means
that different RPCSEC_GSS pseudoflavours must use different upcall pipes.
Add a list to struct rpc_inode that can be used instead.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/rpc_pipe.c')
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 826190d..2320f1e 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c @@ -833,6 +833,7 @@ init_once(void * foo, struct kmem_cache * cachep, unsigned long flags) rpci->nreaders = 0; rpci->nwriters = 0; INIT_LIST_HEAD(&rpci->in_upcall); + INIT_LIST_HEAD(&rpci->in_downcall); INIT_LIST_HEAD(&rpci->pipe); rpci->pipelen = 0; init_waitqueue_head(&rpci->waitq); |