Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp128654rwi; Sun, 9 Oct 2022 20:04:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM58nIk2fWZiaE6XVifWDsmJOv+Bgol8RDtNVgrBrP/khIUvBawNcmy/2BBGhCdnvSlFUdkl X-Received: by 2002:a17:906:db02:b0:780:24e:cf9 with SMTP id xj2-20020a170906db0200b00780024e0cf9mr13139577ejb.460.1665371083095; Sun, 09 Oct 2022 20:04:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665371083; cv=none; d=google.com; s=arc-20160816; b=V98PaICDUXuEErCfW3mYARg8g1VpwyZTzZvAti585op3wVga0QoOh9PefVpIKeONLx sABlwjK1E6aQiwEoDUdgP6xU56vAL+Vzo5pdEcIAKuE67dUGIIwx4V6ud9qlP/Ep0zDm 7iep8mIse3Hd2IWYdYACpMmQA7HiDFx5aQiaj2q78X9+Xd5p/nuRqlASQ4dgs0IZuB1h GlUd3S8BNewphnHlQkTc5xz8Lnga/2gSp1ppuDISB5i1f30WLNBF2/cBNuzuB3wn6ZgH dTqk+NxcZeD9eKeYKMLHIMDgXU9bkj6dGgnT4OIscqEyTRV85FcritvKXXUyB2Y7CEvj XJLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=KmUEvjUrMVIGl+iaCVF8OWtxftGjZKAR4Pc/oS7rkFE=; b=Ii4hYpt+t30OHiGe8ITVSltGnWXSuFp3KnEgds3eFfvRrhEszz+G/pZnFfKqeYpuJK MkvlMYRfnVCLir3LONzY1LXcBFReVTq3tYUyA/AsOpgPUIm8zIkSj/RObJs5elAzvuMB 1TSZfNYmzVhoVOifNHZ2S6Ibu9OwA+o9C7XwVAg+ZsZYKWiIP0QiTyD6KbEqdrOPMw4H mmjKi/uQ77Of+Gz4KgKtlBSyPBX6iyz24beCSRHHwkI7hE1JhV9BemRksaCGGJQhZh3f rRn2+Aoa0dbfT3pn8FuCeBG7BB5a/UKTDiMpzsxwaob4nWtyvgu95edv/TE2eiWCGVZ9 G67A== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e14-20020a50ec8e000000b00456dc484efbsi8532739edr.119.2022.10.09.20.04.17; Sun, 09 Oct 2022 20:04:43 -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; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231180AbiJJCjN (ORCPT + 99 others); Sun, 9 Oct 2022 22:39:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230376AbiJJCjH (ORCPT ); Sun, 9 Oct 2022 22:39:07 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 560B34A82E; Sun, 9 Oct 2022 19:39:05 -0700 (PDT) Received: from kwepemi500016.china.huawei.com (unknown [172.30.72.55]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4Mm30729D2zmV93; Mon, 10 Oct 2022 10:34:31 +0800 (CST) Received: from huawei.com (10.174.178.129) by kwepemi500016.china.huawei.com (7.221.188.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 10 Oct 2022 10:39:02 +0800 From: Kemeng Shi To: , CC: , , , Subject: [PATCH 2/4] blk-cgroup: correct comment for blk_alloc_queue and blk_exit_queue Date: Mon, 10 Oct 2022 10:38:57 +0800 Message-ID: <20221010023859.11896-3-shikemeng@huawei.com> X-Mailer: git-send-email 2.14.1.windows.1 In-Reply-To: <20221010023859.11896-1-shikemeng@huawei.com> References: <20221010023859.11896-1-shikemeng@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.178.129] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To kwepemi500016.china.huawei.com (7.221.188.220) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 Since commit 1059699f87eb("block: move blkcg initialization/destroy into disk allocation/release handler"), blk_alloc_queue and blk_exit_queue is called directly from gendisk. Update the corresponding comment. Signed-off-by: Kemeng Shi --- block/blk-cgroup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c index bc4dec705572..463c568d3e86 100644 --- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c @@ -1259,7 +1259,7 @@ static int blkcg_css_online(struct cgroup_subsys_state *css) * blkcg_init_queue - initialize blkcg part of request queue * @q: request_queue to initialize * - * Called from blk_alloc_queue(). Responsible for initializing blkcg + * Called from gendisk. Responsible for initializing blkcg * part of new request_queue @q. * * RETURNS: @@ -1321,7 +1321,7 @@ int blkcg_init_queue(struct request_queue *q) * blkcg_exit_queue - exit and release blkcg part of request_queue * @q: request_queue being released * - * Called from blk_exit_queue(). Responsible for exiting blkcg part. + * Called from gendisk. Responsible for exiting blkcg part. */ void blkcg_exit_queue(struct request_queue *q) { -- 2.30.0