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 089E8C433F5 for ; Thu, 19 May 2022 14:34:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239703AbiESOeW (ORCPT ); Thu, 19 May 2022 10:34:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239822AbiESOeR (ORCPT ); Thu, 19 May 2022 10:34:17 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A4968EAD2D; Thu, 19 May 2022 07:34:10 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 0BB6668AFE; Thu, 19 May 2022 16:34:07 +0200 (CEST) Date: Thu, 19 May 2022 16:34:06 +0200 From: Christoph Hellwig To: Hannes Reinecke Cc: Christoph Hellwig , Jens Axboe , Keith Busch , linux-block@vger.kernel.org, James Smart , linux-scsi@vger.kernel.org Subject: Re: [PATCH] blk-cgroup: provide stubs for blkcg_get_fc_appid() Message-ID: <20220519143406.GA23363@lst.de> References: <20220519140021.6905-1-hare@suse.de> <20220519140816.GA21378@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Thu, May 19, 2022 at 04:20:40PM +0200, Hannes Reinecke wrote: >> >> No, it does not fix that commit, which is perfectly fine. It fixes >> the recently added second caller of blkcg_get_fc_appid, and James >> has just resent a new version of that which fixes this properly. > > Really? blk-cgroup.h provides the function declaration > blkcg_get_fc_appid() unconditionally, but the implementation > for blkcg_get_fc_appid() depends on CONFIG_CGROUP. Take a look at the IS_ENABLED macro that we have for a few years now. > Neither of which is changed by James patchset. > > And besides, the first version is already merged. > > Am I missing something? https://lore.kernel.org/linux-scsi/20220519123110.17361-1-jsmart2021@gmail.com/T/#t