]> err.no Git - linux-2.6/commitdiff
Revert "RPC: stops the release_pipe() funtion from being called twice"
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 27 Oct 2005 23:08:18 +0000 (19:08 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 27 Oct 2005 23:08:18 +0000 (19:08 -0400)
This reverts 747c5534c9a6da4aa87e7cdc2209ea98ea27f381 commit.

net/sunrpc/rpc_pipe.c

index 649d609e7d9484a8b323f1f07dfeb2526789b7e4..ded6c63f11ec968263890ebded1f65ea31f1f674 100644 (file)
@@ -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;