Просмотр исходного кода

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

This reverts 747c5534c9a6da4aa87e7cdc2209ea98ea27f381 commit.
Trond Myklebust 19 лет назад
Родитель
Сommit
6fa05b1736
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      net/sunrpc/rpc_pipe.c

+ 0 - 2
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;