Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp660377rwd; Wed, 14 Jun 2023 23:40:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5WBnyvGZnYZtySDsvlews71DQJ0dSzKJE2ZbWO4mdJfG20DEFIwY8/rIwoSAV745T6Ufwk X-Received: by 2002:a17:907:869f:b0:977:ceab:3996 with SMTP id qa31-20020a170907869f00b00977ceab3996mr19282318ejc.76.1686811218972; Wed, 14 Jun 2023 23:40:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686811218; cv=none; d=google.com; s=arc-20160816; b=l6fTXVKue62X3tZqF3HdlZqb92O69DoUKrB0z3My1DyrJVfcibkppeG25LMEIYPUWj ubdXj78tLDvniPatbLLadEc5fvCnJabBQoI89D35KLYZcUEkKlmw9QDkkUSCC2Qlz/uH LNdCUgUDqtvMrX/Gzg8v6wbe5JBxfRO/tEKcHQR+l10FPCE2NxKJZc8tW8TcasOv2ywT J4W6plJQQ9wKZoAXrLLqPRuTS3n/JF4hU71U6cIcfRXxGdFZzuOVymsoXuD4N/6hSJnb B73fj8NTqQnBr9sDWvKbzB3VcJJQCE6bhIE/sapGYkZWSw0CiKHdMZpJhTRhwqK5VCxr mb1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hRjaMQchwaDw51gYY0A6pzxnY9mg2ZrdZZNaLj4dZeA=; b=PEyZfuTQMiwVqhQjvV1osnGdNJrJiNF1GzTqkzXSEDFTfZ/LDXqVusfNnZxCRl+UlL sXD2OAb4QNGZwvpaERDP2hMT9ivifsli1aVsKei71XVSbf4sYSB5CE8N0CO/MutZeOPF 2oJksC1Xn2Vgq4/tmnB7N1/JYbm56sieosXaj5P5xLUQyJ8liAzmPkcNyWkOIFag4ujB C29ylAGVZRLyGHXu/uaNt7jmz+vg3eGSImlHhNplROz7loe31q104iqyYJ+8n23LxD3G k6Lm2M02NeydNuN9wCQZpRMfOe6nh7BWUu3U7wtoVE/SNT60gET/zaFzgyhmcUREaJrP X2oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=2hlMq+ya; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rl11-20020a170907216b00b0097886add37asi9232542ejb.980.2023.06.14.23.39.54; Wed, 14 Jun 2023 23:40:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@infradead.org header.s=bombadil.20210309 header.b=2hlMq+ya; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236392AbjFOGFG (ORCPT + 99 others); Thu, 15 Jun 2023 02:05:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243481AbjFOGEL (ORCPT ); Thu, 15 Jun 2023 02:04:11 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFA5F295B; Wed, 14 Jun 2023 23:03:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=hRjaMQchwaDw51gYY0A6pzxnY9mg2ZrdZZNaLj4dZeA=; b=2hlMq+ya9mZtwNO3r77yfR79wx jteAUkH60G2v+Yo4PufzKQT8JLVtKTUoRCQO1Pv3W3rJro3RDat/Gqx84gGOdEO1xgpa+c8tz6SF/ oiLLUuc0aE4g9+haEXR6sNQObtZTm56QUaTd3whFwOYuPNEpMe1d98L9iQEEWGptFPFKtb+3LbVCF hZUZrP7OpDQRiryZRmVJCKy/rGCwv73AISmQHKFv98u66P13D3PksbofOHp/Lj1+x//HllJDN0Pje DPlnLFq/lFc7t3/gbMVBFZaQxUCvWS8EGwoZEBX4rAONc7d5ffPgH6iu5nYoPoV6DOxnIqrPh51S0 pA/4zdpA==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1q9g5C-00DnhB-0u; Thu, 15 Jun 2023 06:03:46 +0000 Date: Wed, 14 Jun 2023 23:03:46 -0700 From: Christoph Hellwig To: Ayush Jain Cc: Christoph Hellwig , "sfr@canb.auug.org.au" , Linux Kernel Mailing List , Linux Next Mailing List , "Karny, Wyes" , Jens Axboe , "linux-block@vger.kernel.org" , "V, Narasimhan" , "Shetty, Kalpana" , "Shukla, Santosh" Subject: Re: Kernel null pointer dereference on stopping raid device Message-ID: References: <3c4911c4-d3d7-a93e-5f14-e97384ae4f21@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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-kernel@vger.kernel.org On Thu, Jun 15, 2023 at 11:14:02AM +0530, Ayush Jain wrote: > > That was just a quick hack to verify the problem. I think this is > > the proper fix, can you try it as well? > > > > Sure, this works on my machine. > > Tested-by: Ayush Jain So it turns out that Jens merged the md pull request for 6.5 yesterday, and that includes and equivalent change in 3ce94ce5d05ae89190a23f6187f64d8f4b2d3782 Author: Yu Kuai Date: Tue May 23 09:27:27 2023 +0800 md: fix duplicate filename for rdev With that I think we don't need an extra fix. Sorry for all the extra work.