From: Trond Myklebust Date: Thu, 27 Oct 2005 23:08:18 +0000 (-0400) Subject: Revert "RPC: stops the release_pipe() funtion from being called twice" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6fa05b17367f04ada501e89d3b9cb56adec0d930;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Revert "RPC: stops the release_pipe() funtion from being called twice" This reverts 747c5534c9a6da4aa87e7cdc2209ea98ea27f381 commit. --- diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 649d609e7d94..ded6c63f11ec 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/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;