Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6fa05b17 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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

This reverts 747c5534 commit.
parent ab27642b
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -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;