From 6138ee1744f66b9765f5121c519a927ee6af12a1 Mon Sep 17 00:00:00 2001 From: Trond Myklebust Date: Thu, 27 Oct 2005 19:08:18 -0400 Subject: [PATCH] --- yaml --- r: 10036 b: refs/heads/master c: 6fa05b17367f04ada501e89d3b9cb56adec0d930 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/net/sunrpc/rpc_pipe.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 3aba6f90262b..013fb997f996 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ab27642b59b68d18df5a9aa5fa81b5ab5735aa77 +refs/heads/master: 6fa05b17367f04ada501e89d3b9cb56adec0d930 diff --git a/trunk/net/sunrpc/rpc_pipe.c b/trunk/net/sunrpc/rpc_pipe.c index 649d609e7d94..ded6c63f11ec 100644 --- a/trunk/net/sunrpc/rpc_pipe.c +++ b/trunk/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;