Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp713981pxa; Thu, 27 Aug 2020 13:48:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUgoV3qnT9WixMb0Vmc6nzEbhlgM+l4ZjuODQ+pKqLIjUCwmOxokTCJnVkn06ax1UeWnB4 X-Received: by 2002:aa7:c383:: with SMTP id k3mr20904712edq.164.1598561322642; Thu, 27 Aug 2020 13:48:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598561322; cv=none; d=google.com; s=arc-20160816; b=BNYQVHwYCRW3/acXgS+3qkNpb+txyrmklfSvBkUenUFOxM3IdXugN0mRfJLYfXsayT CxtqXP21BbSqkFH9k5xzlZu62FmTGScIkmEwWA6gHPjARtSsT9bwBKaKJUJRkkFhOLcB HNIMxhV2GCHfXf+7GWWXkgSStk1OPZCQeuO/eDPRgnfcOHHQ8vh6YQDdsOYMdoDr30kM IjzXfK4jyoJg7UxYq5BKnkL3J1iw51mMwoxBosLiCOC4qig/Ch4gPSRtHM3g1VYNN1Yy 2PtOtPYL5SlzRN9LkN5mmG/XZ7+97KoaLa/aqSVul5ypHY+UiPm/scj0Vy6lCtUA//jf RngA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=hpgRb2h0mN8Kij2faQnLoL0JK9k38SapLWHE1AtWvi4=; b=JGMbMnJCkQl9DWn/wbWlKwAEstcjUTCHpd4viGsnto+ct36jYbGlQteWEJcgTctJDU xLIyLpinx9vx1Ix5C+++9J1Tmvbpg95kARQP+EA3i/kRmc9/pnQF2nArDs7mJx8D1/hj Hib5lpaeNopeyFwi7F+NS9A4qqfOcF+5SLmyqa725cLl2Tkhp49173ZSSTtjuzNrel5u uY0JFYaKEYrKp21pK5BlAvgrwdP+Ah1K04SyeaO440q+pkcUCJBAZQOPv9PTZ6BMJHji ZzCWRXi0zTpajgkmpflL56luHYzWhNuprKyhnuMRTvRumtHTqOZ6yfENFIpWQg1JLzoQ c8FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=bHWv5+11; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c27si2487497edx.64.2020.08.27.13.48.06; Thu, 27 Aug 2020 13:48:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=bHWv5+11; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726794AbgH0UrB (ORCPT + 99 others); Thu, 27 Aug 2020 16:47:01 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:19973 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726147AbgH0UrA (ORCPT ); Thu, 27 Aug 2020 16:47:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1598561221; x=1630097221; h=from:to:cc:subject:date:message-id:mime-version; bh=hpgRb2h0mN8Kij2faQnLoL0JK9k38SapLWHE1AtWvi4=; b=bHWv5+11QFpFwkGjYI6JU0sYNxAaeC0xRahr/LkRh+mcMUlmDSW05FO4 uI+HS/HCEMhyfnFg2M5OH8FQlq/+spvfkmGlBHpWtHBz51TtnbN3W7Eqt WwcWWJ7UV+dxrM9mRw1llguwiLIIS0GrGXMMMw3Ap7GUvUkR5mjsqyGB9 o=; X-IronPort-AV: E=Sophos;i="5.76,361,1592870400"; d="scan'208";a="71482355" Received: from sea32-co-svc-lb4-vlan3.sea.corp.amazon.com (HELO email-inbound-relay-2a-538b0bfb.us-west-2.amazon.com) ([10.47.23.38]) by smtp-border-fw-out-9102.sea19.amazon.com with ESMTP; 27 Aug 2020 20:46:58 +0000 Received: from EX13MTAUWB001.ant.amazon.com (pdx4-ws-svc-p6-lb7-vlan3.pdx.amazon.com [10.170.41.166]) by email-inbound-relay-2a-538b0bfb.us-west-2.amazon.com (Postfix) with ESMTPS id 9E1C6A1EC3; Thu, 27 Aug 2020 20:46:57 +0000 (UTC) Received: from EX13D13UWB001.ant.amazon.com (10.43.161.156) by EX13MTAUWB001.ant.amazon.com (10.43.161.249) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 27 Aug 2020 20:46:57 +0000 Received: from EX13MTAUEA002.ant.amazon.com (10.43.61.77) by EX13D13UWB001.ant.amazon.com (10.43.161.156) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 27 Aug 2020 20:46:56 +0000 Received: from dev-dsk-fllinden-2c-c1893d73.us-west-2.amazon.com (172.23.141.97) by mail-relay.amazon.com (10.43.61.169) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Thu, 27 Aug 2020 20:46:56 +0000 Received: by dev-dsk-fllinden-2c-c1893d73.us-west-2.amazon.com (Postfix, from userid 6262777) id C5754C153F; Thu, 27 Aug 2020 20:46:55 +0000 (UTC) From: Frank van der Linden To: , , CC: Frank van der Linden Subject: [PATCH] NFSv4.2: xattr cache: remove unused cache struct field Date: Thu, 27 Aug 2020 20:46:55 +0000 Message-ID: <20200827204655.1581-1-fllinden@amazon.com> X-Mailer: git-send-email 2.16.6 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org The hash_lock field of the cache structure was a leftover of a previous iteration of the code. It is now unused, so remove it. Signed-off-by: Frank van der Linden --- fs/nfs/nfs42xattr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/fs/nfs/nfs42xattr.c b/fs/nfs/nfs42xattr.c index 86777996cfec..22396a7eebe1 100644 --- a/fs/nfs/nfs42xattr.c +++ b/fs/nfs/nfs42xattr.c @@ -67,7 +67,6 @@ struct nfs4_xattr_bucket { struct nfs4_xattr_cache { struct kref ref; - spinlock_t hash_lock; /* protects hashtable and lru */ struct nfs4_xattr_bucket buckets[NFS4_XATTR_HASH_SIZE]; struct list_head lru; struct list_head dispose; -- 2.17.2