aboutsummaryrefslogtreecommitdiff
path: root/net/sunrpc
diff options
context:
space:
mode:
authorGravatar Trond Myklebust <Trond.Myklebust@netapp.com> 2005-10-27 19:08:18 -0400
committerGravatar Trond Myklebust <Trond.Myklebust@netapp.com> 2005-10-27 19:08:18 -0400
commit6fa05b17367f04ada501e89d3b9cb56adec0d930 (patch)
tree46493ddc5ab130108e2f0b9d5fd81dae367a4cb0 /net/sunrpc
parentMerge branch 'master' of ssh://rsync.linux-nfs.org/home/trondmy/www_sites/rsy... (diff)
downloadlinux-6fa05b17367f04ada501e89d3b9cb56adec0d930.tar.gz
linux-6fa05b17367f04ada501e89d3b9cb56adec0d930.tar.bz2
linux-6fa05b17367f04ada501e89d3b9cb56adec0d930.zip
Revert "RPC: stops the release_pipe() funtion from being called twice"
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/rpc_pipe.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c
index 649d609e7d94..ded6c63f11ec 100644
--- a/net/sunrpc/rpc_pipe.c
+++ b/net/sunrpc/rpc_pipe.c
@@ -177,8 +177,6 @@ rpc_pipe_release(struct inode *inode, struct file *filp)
__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;