diff options
author | Tony Luck <tony.luck@intel.com> | 2005-12-05 14:50:17 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-12-05 14:50:17 -0500 |
commit | 3e356b2660eda9da7776144cbc0a038c93dcb335 (patch) | |
tree | 378a38636f6b67a5f092a73850223d11cdfb5ff5 /net/sunrpc/rpc_pipe.c | |
parent | 05f70395c642bed0300bc1955bfa8c0f93de2bc2 (diff) | |
parent | e4f5c82a92c2a546a16af1614114eec19120e40a (diff) |
Auto-update from upstream
Diffstat (limited to 'net/sunrpc/rpc_pipe.c')
-rw-r--r-- | net/sunrpc/rpc_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index e3b242daf53c..c76ea221798c 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c | |||
@@ -59,7 +59,6 @@ __rpc_purge_upcall(struct inode *inode, int err) | |||
59 | struct rpc_inode *rpci = RPC_I(inode); | 59 | struct rpc_inode *rpci = RPC_I(inode); |
60 | 60 | ||
61 | __rpc_purge_list(rpci, &rpci->pipe, err); | 61 | __rpc_purge_list(rpci, &rpci->pipe, err); |
62 | __rpc_purge_list(rpci, &rpci->in_upcall, err); | ||
63 | rpci->pipelen = 0; | 62 | rpci->pipelen = 0; |
64 | wake_up(&rpci->waitq); | 63 | wake_up(&rpci->waitq); |
65 | } | 64 | } |
@@ -119,6 +118,7 @@ rpc_close_pipes(struct inode *inode) | |||
119 | down(&inode->i_sem); | 118 | down(&inode->i_sem); |
120 | if (rpci->ops != NULL) { | 119 | if (rpci->ops != NULL) { |
121 | rpci->nreaders = 0; | 120 | rpci->nreaders = 0; |
121 | __rpc_purge_list(rpci, &rpci->in_upcall, -EPIPE); | ||
122 | __rpc_purge_upcall(inode, -EPIPE); | 122 | __rpc_purge_upcall(inode, -EPIPE); |
123 | rpci->nwriters = 0; | 123 | rpci->nwriters = 0; |
124 | if (rpci->ops->release_pipe) | 124 | if (rpci->ops->release_pipe) |