Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3324232rwi; Sun, 16 Oct 2022 08:56:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6PUBxTWVQmrVCBvHxGwAVxRpDiV4yhPM7uusrO6cjn3cC90H/ZzBzA+XLghr+czji6O89G X-Received: by 2002:a63:1058:0:b0:44f:a1cb:7eec with SMTP id 24-20020a631058000000b0044fa1cb7eecmr7158031pgq.117.1665935784660; Sun, 16 Oct 2022 08:56:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665935784; cv=none; d=google.com; s=arc-20160816; b=RlD1iGuXjwB2mRc2PTbFEWsYt/iuvTHg1vcaYOBcLeeXTDxlnJgL/jrNJL0aJ+wntg WtjCgCSVQ/wxQWN06ajzbQR3aUWyDh6Mq//udUPR7Jh/Gna1pjvyJVCT/xoy0FJnpfpK 1mbTHLWM7JUG5e6RNmSp1R56ku1qPwmodQstujzA6i4qi2v7QlfnebYDPO+THUZWN6Yn yvdfoW1QaANP0j3F10x2c2/BAwYKBgzFM6/g3Rb5BkDJAGgghemuoBfKICjiSqLLmbTv uqOEN9oZjOOmFu89f39Q/VsToLd1GGJpvT0PGpRKeZR5SuNNJf8VI3YMZ3JYrdvUftVb HXUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:message-id:date:to:from:subject; bh=9Te0q5dgWQCRAKqAscCM9JsdARyOPmbD5Kk7NqvPHew=; b=fShsLlqe60P8G7uKhc2o8YySfvkSoiwPPB8qMm6Ia2K+quIh9PayCdHx6v/jGzz2pL E38IdnkMyfl1GNyHf/FsNHGxtn7gKotaVCeGRn9Jkwt9jqDMOoa1A31bL5t7W76eOys6 b8b8XGnFVxSq+DgN5ueHO78Pr7GIyObU07mOppQcCS5/xAxYOpENAoyfc5N1h+H8mQXl WuWNS6lw/MuCNEPBIt7zMQQegJo4sVmZ7N2vP/15jKkDcLL9QNp4d8HVZ74bBJcDgJSW FNkzfZS+zyELXMBQMnNdu7GUSeRFX5TZewlqNyr8GfWD/Q4/fBUvbPnxUL9s4aQw88Qs J61g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l9-20020a17090a850900b0020d3a22af84si8340648pjn.186.2022.10.16.08.55.57; Sun, 16 Oct 2022 08:56:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229735AbiJPPrC (ORCPT + 99 others); Sun, 16 Oct 2022 11:47:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229744AbiJPPq7 (ORCPT ); Sun, 16 Oct 2022 11:46:59 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EBEA33863 for ; Sun, 16 Oct 2022 08:46:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C4E3B60BA8 for ; Sun, 16 Oct 2022 15:46:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28357C433D6 for ; Sun, 16 Oct 2022 15:46:57 +0000 (UTC) Subject: [PATCH 1 1/3] SUNRPC: Remove unused svc_rqst::rq_lock field From: Chuck Lever To: linux-nfs@vger.kernel.org Date: Sun, 16 Oct 2022 11:46:56 -0400 Message-ID: <166593521604.1710.10648202421284171508.stgit@klimt.1015granger.net> User-Agent: StGit/1.5.dev3+g9561319 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Clean up after commit 22700f3c6df5 ("SUNRPC: Improve ordering of transport processing"). Signed-off-by: Chuck Lever --- include/linux/sunrpc/svc.h | 1 - net/sunrpc/svc.c | 1 - 2 files changed, 2 deletions(-) diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index daecb009c05b..3b59eb9cf884 100644 --- a/include/linux/sunrpc/svc.h +++ b/include/linux/sunrpc/svc.h @@ -311,7 +311,6 @@ struct svc_rqst { struct auth_domain * rq_gssclient; /* "gss/"-style peer info */ struct svc_cacherep * rq_cacherep; /* cache info */ struct task_struct *rq_task; /* service thread */ - spinlock_t rq_lock; /* per-request lock */ struct net *rq_bc_net; /* pointer to backchannel's * net namespace */ diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c index 7c9a0d0b1230..d2bb1d04c524 100644 --- a/net/sunrpc/svc.c +++ b/net/sunrpc/svc.c @@ -638,7 +638,6 @@ svc_rqst_alloc(struct svc_serv *serv, struct svc_pool *pool, int node) return rqstp; __set_bit(RQ_BUSY, &rqstp->rq_flags); - spin_lock_init(&rqstp->rq_lock); rqstp->rq_server = serv; rqstp->rq_pool = pool;