commit | 6fa05b17367f04ada501e89d3b9cb56adec0d930 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Oct 27 19:08:18 2005 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Oct 27 19:08:18 2005 -0400 |
tree | 46493ddc5ab130108e2f0b9d5fd81dae367a4cb0 | |
parent | ab27642b59b68d18df5a9aa5fa81b5ab5735aa77 [diff] |
Revert "RPC: stops the release_pipe() funtion from being called twice" This reverts 747c5534c9a6da4aa87e7cdc2209ea98ea27f381 commit.
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 649d609..ded6c63 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c
@@ -177,8 +177,6 @@ __rpc_purge_upcall(inode, -EPIPE); if (rpci->ops->release_pipe) rpci->ops->release_pipe(inode); - if (!rpci->nreaders && !rpci->nwriters) - rpci->ops = NULL; out: up(&inode->i_sem); return 0;