diff mbox series

[01/10] SQUASH: SUNRPC: rename and refactor svc_get_next_xprt()

Message ID 20230815015426.5091-2-neilb@suse.de (mailing list archive)
State New, archived
Headers show
Series SUNRPC: remainder of srv queueing work | expand

Commit Message

NeilBrown Aug. 15, 2023, 1:54 a.m. UTC
Previous patch dropped the "!" when moving this test

Signed-off-by: NeilBrown <neilb@suse.de>
---
 net/sunrpc/svc_xprt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c
index b875b2332069..b8539545fefd 100644
--- a/net/sunrpc/svc_xprt.c
+++ b/net/sunrpc/svc_xprt.c
@@ -867,7 +867,7 @@  void svc_recv(struct svc_rqst *rqstp)
 		/* Normally we will wait up to 5 seconds for any required
 		 * cache information to be provided.
 		 */
-		if (test_bit(SP_CONGESTED, &pool->sp_flags))
+		if (!test_bit(SP_CONGESTED, &pool->sp_flags))
 			rqstp->rq_chandle.thread_wait = 5 * HZ;
 		else
 			rqstp->rq_chandle.thread_wait = 1 * HZ;