提交 6fa05b17 编写于 作者: T Trond Myklebust

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

This reverts 747c5534 commit.
上级 ab27642b
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册