From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 220F28836 for ; Fri, 21 Mar 2025 06:15:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.95.11.211 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742537737; cv=none; b=hS4ZeuoQm7JRrpw4UOwHT+4EQ2oXq1c1UYeNemOFZf/wlDdumNIiYdLNJew9c2S9TLAL0/CayiR4gL9dizSMfdHRuNbGauCUtnIe1jSK7N35qKN1iTn6r4fPXdg9VbrnY+VRZjmgh4lBHFQpU9o8Yk5SOxWCjmBT8Fsn8hVJktM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742537737; c=relaxed/simple; bh=pYP8OU/E8Wj0kIH0dVBtl69I8XdWVVzdE5KU5CZeCE0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=pleuitnZhXz/pWKJ/feO0ztvxExqFxSEMJ1WbP3CzsMND4aIE8FWzEuCDQz7WIFzTPWsBAeItIn8xRcKGX6Kw/lZAxgRN/awJU7g4EwV599IwFWNvX46lH7FphzADC4C0QrDZOgXowLZhBzOS8BP505vV049h4TOFWegkoSJ7t8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de; spf=pass smtp.mailfrom=lst.de; arc=none smtp.client-ip=213.95.11.211 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lst.de Received: by verein.lst.de (Postfix, from userid 2407) id 5945F68AA6; Fri, 21 Mar 2025 07:15:32 +0100 (CET) Date: Fri, 21 Mar 2025 07:15:31 +0100 From: Christoph Hellwig To: Daniel Wagner Cc: James Smart , Christoph Hellwig , Sagi Grimberg , Chaitanya Kulkarni , Hannes Reinecke , Keith Busch , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 12/18] nvmet-fc: inline nvmet_fc_free_hostport Message-ID: <20250321061531.GD3198@lst.de> References: <20250318-nvmet-fcloop-v3-0-05fec0fc02f6@kernel.org> <20250318-nvmet-fcloop-v3-12-05fec0fc02f6@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250318-nvmet-fcloop-v3-12-05fec0fc02f6@kernel.org> User-Agent: Mutt/1.5.17 (2007-11-01) On Tue, Mar 18, 2025 at 11:40:06AM +0100, Daniel Wagner wrote: > No need for this tiny helper with only one user, let's inline it. > > And since the hostport ref counter needs to stay in sync, it's not > optional anymore to give back the reference. Looks good: Reviewed-by: Christoph Hellwig Btw, given that the series keeps growing and needs at least another iteration maybe just send out the trivial cleanups and fully reviewed simply refcounting changes ASAP to make it easier to review?