Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1037041rwo; Wed, 2 Aug 2023 07:53:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlFIwJWpqrmRy4KBZaICa4Qon9VGfvz3DUBK3lRdnccipS7iE4TgCuIaoAJLN8eRVtJnXS+O X-Received: by 2002:a17:906:c1:b0:99b:eeae:23d0 with SMTP id 1-20020a17090600c100b0099beeae23d0mr4834986eji.12.1690988030646; Wed, 02 Aug 2023 07:53:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690988030; cv=none; d=google.com; s=arc-20160816; b=JXz4GEChUGycC8itoOXTADDmVa+0Rl9RKwHf8sFfkBc67eDs2ccrlO3W0KWVMe0ExO ys+ovg2i3577uiEiwsRfFQPFX5uhCddGHUNa0agDfYa4xtSiJdol0a6tUoJsiLT20LMv 8zJvFV8MvtOJ7zCk/LRCTIl0yKaqREeJVRumzXvN42tqx6qVPDt3/0w8jePm0faE0qly yyIExKTBEoabW6xDiRBgp/C6o26OiP+EIOh3Sj5Po7Blh7ntdTFddFpxEqz2Bl38yk4B U8dT3IJHlL/53UoCwvwcqpLIkP3To5Rbv2XCkR2RnYXPR+oKIXGT2g2X2hKO9Rki8kTM owaQ== 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:date :subject:cc:to:from:message-id:dkim-signature; bh=8oXbhwTXOk2laXlpJKWBTOgPexjx8+ZPuguvtJIb0Nw=; fh=WfWfIODuAo7lEaEeq+KrmZEze9BFJM+mz6R0p9bkQ4s=; b=MBA8K9XOZv/8UqnpH9vDNYbYkK4R/p8zbMHlA1jkkV9rzmN38hXyhMVR8sKHzpalq6 GVMZWhNWt/aqDiOskrPHHvFQ09yWeAeorvcA4aNWsYnePkI/o/PYMXJ4818gHd7xDEir hVylWZkpcZd8mzIXFnDxrfkKU0zeWa7t+OEACk1//byVLw5aB8ArnShf0/u7dG0gxC7g /lWY2TKC5MZNy+BubeaahcHnRnaOLidlOI8RP1CFtxgrg0a5wCijC7jMWQGH5NpqGh9m qexWs8IhGuA4g934JpY5UciqhENKi061sSsJPeEw66wKd1jHMcXXDMwAGqUoh7J6cW0q zSQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foxmail.com header.s=s201512 header.b=EyxlH0xH; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foxmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o5-20020a17090608c500b0099307a6635esi10215470eje.701.2023.08.02.07.53.22; Wed, 02 Aug 2023 07:53:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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; dkim=pass header.i=@foxmail.com header.s=s201512 header.b=EyxlH0xH; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foxmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232607AbjHBOrK (ORCPT + 99 others); Wed, 2 Aug 2023 10:47:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234384AbjHBOrJ (ORCPT ); Wed, 2 Aug 2023 10:47:09 -0400 Received: from out162-62-57-252.mail.qq.com (out162-62-57-252.mail.qq.com [162.62.57.252]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ED9971BE7 for ; Wed, 2 Aug 2023 07:47:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1690987620; bh=8oXbhwTXOk2laXlpJKWBTOgPexjx8+ZPuguvtJIb0Nw=; h=From:To:Cc:Subject:Date; b=EyxlH0xHxCxttj4e/RUsoUhhVMZ33bKJ8RlfOzB+1oLZbcl52rMiHQxh9VbPm5iVi 3VS7YbMYWpehbkXRiUoyrDQfqmSIPlPvKfcE7r28XW53vRmJcazfFEzcMmGe7PrUa7 q+UKB924qut8fknwJaM9KwePN+iN5mlKWluef87A= Received: from fedora.. ([2409:8a00:2577:9740:9ca5:5f74:38db:4c67]) by newxmesmtplogicsvrszc2-0.qq.com (NewEsmtp) with SMTP id B7381021; Wed, 02 Aug 2023 22:45:51 +0800 X-QQ-mid: xmsmtpt1690987551tdd5x2o5m Message-ID: X-QQ-XMAILINFO: MyirvGjpKb1j1Pd04BE4aUWlLRaB0nfADzCtyeBTnJGyfHDhfOBke5ksMrG1XL NoR0lUXqE6+mUWctt6uWldWVVtI/7sF7hbC6t0V+kwKfBE6ymyDu6GTQAnlUtBJZ4NMZgTZgJ21x aiT9Z6ACPPk4XBmwbsPmMdtcE5P+wH/jGA4/0/9qgkN3xHrGIuUIBv9jtTWqkWh9NiU5ttxAqaPF 8X98+SuNexc4k+BfZqFQ2hzDhyyh3WpILXA1uwHo8elLTq+e0dDDnQbqfjRSgk7cH45FtjGrk0Op d71+iYEa53pSnxVY8r6gUuEovGylujElaSp9JBWnwz8DUpF+ki7IBk4Sa/2BaD/te56BHkjBRMKr gtLslfgqoDVYihOHz/L7JuMM0OYWIqgMfcMDNLOS1NHNU6CkJvP2sutqsOF0atOinvR7KZQOLnJZ nmoCbcSRiXulukZplWxk1ahSPXEtTMyqval9sluKUKzSjqBNOhyecFhwWlC4yXNcoRJw9U90YRJm 7MakQdIg3/VMB+3dLFkjYcvc7JmTnUzrHQ5UMFFKq6+FuZ+RV6R5L+5MyOQRU4cZrdZUe6MoDtqb DhjO8kzxR4N29t5VqtABKq7vLqc7VHHEm+9I/6NX6pPVLxym0koVcoJk1F7SQr9rChJ+Oli69+9A OCXvhfE0JQjjxKLmY5Q9/Hwo5OZzcJilI23i/7TzR7lXUtQZ5gdRN/CHrswyfJC4GIcJHbngP0tL qlSMBu1NKDnoMqIYtu9RmNqxmxgPMByXlyHhIWGJ4en9/sA0OsDm++kLI8gp0aIn2iPOuccgDBkt qV8+5k+LD6oYrjAIcfWnCSo2e9r+G5oos6aOSLUZXQQy/6KJ56LvZ3aukLuflxSvzaOQufcOBvKp BdzUUCBBWxb/vrZyL/aSdAA007sxtmry3bHYzTGQ8faNBucH3OD6043zGO01v5JRSGlkt0p5RNat KVolQhHCJ+lK7lhxu4VWM9MR8Eyp0wffxFUUjCVpFlyk2dHQr2pDyX+V4Yjer/AYzBbZg7JQg= X-QQ-XMRINFO: NI4Ajvh11aEj8Xl/2s1/T8w= From: Wang Jianjian To: linux-ext4@vger.kernel.org Cc: wangjianjian0@foxmail.com, Ritesh Harjani Subject: [PATCH] jbd2: Remove unused t_handle_lock Date: Wed, 2 Aug 2023 22:45:34 +0800 X-OQ-MSGID: <20230802144534.244452-1-wangjianjian0@foxmail.com> X-Mailer: git-send-email 2.34.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,HELO_DYNAMIC_IPADDR,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RDNS_DYNAMIC,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Since commit f7f497cb7024 ("jbd2: kill t_handle_lock transaction spinlock"), this lock has been no use. Fixes: f7f497cb7024 ("jbd2: kill t_handle_lock transaction spinlock") Signed-off-by: Wang Jianjian Reviewed-by: Ritesh Harjani (IBM) --- include/linux/jbd2.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h index d860499e15e4..8199235dbaf3 100644 --- a/include/linux/jbd2.h +++ b/include/linux/jbd2.h @@ -636,11 +636,6 @@ struct transaction_s */ struct list_head t_inode_list; - /* - * Protects info related to handles - */ - spinlock_t t_handle_lock; - /* * Longest time some handle had to wait for running transaction */ -- 2.34.3