From patchwork Tue Jun 14 10:05:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guoqing Jiang X-Patchwork-Id: 12880883 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 5A49EC433EF for ; Tue, 14 Jun 2022 10:06:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241826AbiFNKGX (ORCPT ); Tue, 14 Jun 2022 06:06:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242144AbiFNKGH (ORCPT ); Tue, 14 Jun 2022 06:06:07 -0400 Received: from out0.migadu.com (out0.migadu.com [IPv6:2001:41d0:2:267::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB3152D1F1; Tue, 14 Jun 2022 03:06:05 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1655201164; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=GTMScp+nfQrh9LZR7Rnix9tWdvmjglsycVb9AO//NiI=; b=ohrUS6cI+TdOOoC7vg7EsWgZfarq4Fbd6sazsDnmVsMnwPryoLRA63EWd6S4bA/RbOKWJ1 6ngjdFhrFlixB6SUDdwg+DL8ZUGtQ3262duv4Xh4xrhjlqManyQmc7MF+ERVxTDDG/80Xf Vr/66fEpj6JFDgtjaOySUGph8xaFArI= From: Guoqing Jiang To: tj@kernel.org, axboe@kernel.dk Cc: cgroups@vger.kernel.org, linux-block@vger.kernel.org Subject: [PATCH] block: update comment for blkcg_init_queue Date: Tue, 14 Jun 2022 18:05:56 +0800 Message-Id: <20220614100556.20899-1-guoqing.jiang@linux.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org It was called from __alloc_disk_node since commit 1059699f87eb ("block: move blkcg initialization/destroy into disk allocation/release handler). Let's change the comment accordingly. Signed-off-by: Guoqing Jiang --- block/blk-cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-cgroup.c b/block/blk-cgroup.c index 764e740b0c0f..48ea9919e3ce 100644 --- a/block/blk-cgroup.c +++ b/block/blk-cgroup.c @@ -1256,7 +1256,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 __alloc_disk_node(). Responsible for initializing blkcg * part of new request_queue @q. * * RETURNS: