Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4169653pxb; Wed, 13 Oct 2021 23:06:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpJGzvMCzOxkhBgbaMWgAPXelXr5k6mcisrEikfm2/fhpGV+0E1M+1HSASVu7BWOiPK+ho X-Received: by 2002:a17:906:b796:: with SMTP id dt22mr1503115ejb.456.1634191597013; Wed, 13 Oct 2021 23:06:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634191597; cv=none; d=google.com; s=arc-20160816; b=dCTjsueInnkfP0AdiNz2evGeCVmyS5Jpm6GqufdrDYSWZiNfW+i2Fzpye1Ct7mpGvb FfdUXjT8OAW1GReim9ziOHbrpykyjAkwFoO0k91QSMRWha5vlI25ns+cDJEr/HbUULnN OlAXaWKouXzb1jmiaItKqkYDSiVtk7GRlFpWMc1wWt0FlPokewiu9z4lTqj0cRFQspB1 Md9qEXlG1k/tUcbvJ+fGSSjgQBDOsBt+lriW12wPCZFQpInkQybLQsVXb12103+zvJqt o8J5gtriP8Ne+K1Y9UvaYwOuqJeosqXzvmeCkW02+JMb1hhBC/Ap/VuocfOROEAi4Ko3 IJxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=H0SWCxhebfwL1j9wLhL+e+0z5Do+QmXPQJydryG/Vv0=; b=bBlbxJu/nUrLNa+iigyBwWNZSXNgcNF2odMbh8buAeGCBJOkvh21PXFh/VgONBY0Q1 3ZFrUZeAUPP97uCWXgs5kBp0dA7sARC7Yh67caPosAHzM4atXFIlE8+wsaoCpLPOWaZb luZCXwgXJOUNYIuDGjTysSeq6eudGKr1jo9WKjMf/V8y9V5ozr+j4bE8SW7yGAyPaofS +N6y0tx1vbbXZHVvMGtRUSxmJdxvcS8OrQOITkAH6t4BmU2PZ0tnKTqaoytf5YpFW3pP oojf0q4GVori/1cujppWqa/hQ89XNIX7Cg1inima5V13kf+++9meYzdfHmtcRbkvjZdA MKaw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m6si2607191edb.172.2021.10.13.23.06.12; Wed, 13 Oct 2021 23:06:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229538AbhJNGGc (ORCPT + 99 others); Thu, 14 Oct 2021 02:06:32 -0400 Received: from verein.lst.de ([213.95.11.211]:48689 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbhJNGGb (ORCPT ); Thu, 14 Oct 2021 02:06:31 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id AC47068B05; Thu, 14 Oct 2021 08:04:23 +0200 (CEST) Date: Thu, 14 Oct 2021 08:04:22 +0200 From: Christoph Hellwig To: Adam Manzanares Cc: "yi.zhang@redhat.com" , "sagi@grimberg.me" , Keith Busch , Jens Axboe , Christoph Hellwig , Javier =?iso-8859-1?Q?Gonz=E1lez?= , Minwoo Im , "open list:NVM EXPRESS DRIVER" , open list Subject: Re: [PATCH] nvme: Cleanup per-namespace chardev deletion Message-ID: <20211014060422.GA24897@lst.de> References: <20211013150413.320133-1-a.manzanares@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211013150413.320133-1-a.manzanares@samsung.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 13, 2021 at 03:04:19PM +0000, Adam Manzanares wrote: > Decrease reference count of chardevice during char device deletion in order to > fix a kmemleak. Add relese function for the device associated chardev and moved > ida_simple_remove into the release function. > > Fixes: 2637bae (nvme: introduce generic per-namespace chardev) > Reported-by: Yi Zhang > Suggested-by: Sagi Grimberg > Signed-off-by: Adam Manzanares This looks good, but the subject seems wrong. This isn't a cleanup but a fix. I can fix up the subject when applying it.