aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc/rpc_pipe.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-21 13:42:58 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2005-10-21 13:42:58 -0400
commitab27642b59b68d18df5a9aa5fa81b5ab5735aa77 (patch)
treeafc2f191ef73e6eb1064de6358f44177d691aab0 /net/sunrpc/rpc_pipe.c
parentba9b543d5bec0a7605952e2ba501fb8b0f3b6407 (diff)
parent654b1536b0927d189526b9063818e0790aa3ea23 (diff)
Merge branch 'master' of ssh://rsync.linux-nfs.org/home/trondmy/www_sites/rsync.linux-nfs.org/pub/linux/nfs-2.6
Diffstat (limited to 'net/sunrpc/rpc_pipe.c')
-rw-r--r--net/sunrpc/rpc_pipe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c
index ded6c63f11ec..649d609e7d94 100644
--- a/net/sunrpc/rpc_pipe.c
+++ b/net/sunrpc/rpc_pipe.c
@@ -177,6 +177,8 @@ rpc_pipe_release(struct inode *inode, struct file *filp)
177 __rpc_purge_upcall(inode, -EPIPE); 177 __rpc_purge_upcall(inode, -EPIPE);
178 if (rpci->ops->release_pipe) 178 if (rpci->ops->release_pipe)
179 rpci->ops->release_pipe(inode); 179 rpci->ops->release_pipe(inode);
180 if (!rpci->nreaders && !rpci->nwriters)
181 rpci->ops = NULL;
180out: 182out:
181 up(&inode->i_sem); 183 up(&inode->i_sem);
182 return 0; 184 return 0;