Revert "RPC: stops the release_pipe() funtion from being called twice"

This reverts 747c5534c9 commit.
This commit is contained in:
Trond Myklebust 2005-10-27 19:08:18 -04:00
parent ab27642b59
commit 6fa05b1736
1 changed files with 0 additions and 2 deletions

View File

@ -177,8 +177,6 @@ rpc_pipe_release(struct inode *inode, struct file *filp)
__rpc_purge_upcall(inode, -EPIPE); __rpc_purge_upcall(inode, -EPIPE);
if (rpci->ops->release_pipe) if (rpci->ops->release_pipe)
rpci->ops->release_pipe(inode); rpci->ops->release_pipe(inode);
if (!rpci->nreaders && !rpci->nwriters)
rpci->ops = NULL;
out: out:
up(&inode->i_sem); up(&inode->i_sem);
return 0; return 0;