From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9EAC5EB64D9 for ; Thu, 15 Jun 2023 06:05:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243145AbjFOGFG (ORCPT ); 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 Precedence: bulk List-ID: X-Mailing-List: linux-next@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.