Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2119557rwo; Thu, 3 Aug 2023 05:08:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlGC8g1PV6O427Mwhmlic/dou9VTAIiSZJO7tiEeV6qH3aFZXIMCAuNYBjJlsK6VTe1CtkhQ X-Received: by 2002:a17:90a:f489:b0:268:5e70:507c with SMTP id bx9-20020a17090af48900b002685e70507cmr23652239pjb.4.1691064529909; Thu, 03 Aug 2023 05:08:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691064529; cv=none; d=google.com; s=arc-20160816; b=xm3CGh9fQvxM+av7/2glvaxNB4g6+GgKK5ADiW2O/g204sj1jLaAz8CyQZ7V6mw4/w Y2MlmC2hY2KF4kxehs8aqWN5aH66J9ckEmThl9vB2ROfS3xVmCAf4UtxEa+IGWD3tu9b /1F1l3a9N5MbVSG599EEHmDEItRM9ytWISSJxg1nWAOuPxBDbuzdGM0HiK+Ivtps5zlG j/JYMPwOasbA69W4f9eFIMbnimuYpkdgByiyAP/uMTvpXv8tHsNZX+9LC9tfgG906ZLx t0rBkN5Gj0jrSM4rIwD5lK6DSNkR7GVYYBSsskMcAKLw3hFazr8riLQSCh7z7FZT/vB2 kAGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=pzxYkHBKXOZlKs+I8KFH7KgLVIBX5pv/ALJa2RB9b7Q=; fh=pZWOv2pRkfQFUJ1QSi9xw43l3YtSwTmReJZNUnZfmEA=; b=0YduEboin3IHR3RxqlXjr7M+U/dw0UyTUY29P+YfK2CBm6HyPxTT4IageBf9rrw3wG MSzfJO9n19h6ocY4oDu3zXKGpedOX9cje3O1UgClGUlRndSQoRN9mpdLzFR0KwaSIbDq y9CaPpkh5ep0qkF1CbMaXRMeGpVwcX1zLV3ePI1r3kSm16qN2jgQz71iTdc9+SwXcXcl ER9KHbFOXNig74iB7VzChrBsvNuJ+loBo/g/dYzf98oYByIDKC1fDroBQSnrGUUwBYMG 9wz/UMIHsHQZHyGFqYpCpUg5bytD2pqXl19IXOwg7QTZYQeHQnPxi/GvePNaHu3GkFaC gvbQ== 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 j6-20020a17090a588600b002639fe8ff6bsi2939318pji.44.2023.08.03.05.08.36; Thu, 03 Aug 2023 05:08:49 -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 S235666AbjHCL5W (ORCPT + 99 others); Thu, 3 Aug 2023 07:57:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235605AbjHCL5V (ORCPT ); Thu, 3 Aug 2023 07:57:21 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7743C2D49; Thu, 3 Aug 2023 04:57:20 -0700 (PDT) Received: from canpemm500002.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4RGnPB3B1vz1GD9B; Thu, 3 Aug 2023 19:56:14 +0800 (CST) Received: from huawei.com (10.174.151.185) by canpemm500002.china.huawei.com (7.192.104.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 3 Aug 2023 19:57:17 +0800 From: Miaohe Lin To: , , CC: , , Subject: [PATCH] cgroup: fix obsolete function name in cgroup_destroy_locked() Date: Thu, 3 Aug 2023 19:57:02 +0800 Message-ID: <20230803115702.741128-1-linmiaohe@huawei.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.174.151.185] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To canpemm500002.china.huawei.com (7.192.104.244) 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,T_SCC_BODY_TEXT_LINE 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 e76ecaeef65c ("cgroup: use cgroup_kn_lock_live() in other cgroup kernfs methods"), cgroup_kn_lock_live() is used in cgroup kernfs methods. Update corresponding comment. Signed-off-by: Miaohe Lin --- kernel/cgroup/cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index d620d7ec47e8..f230446598ac 100644 --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c @@ -5871,7 +5871,7 @@ static int cgroup_destroy_locked(struct cgroup *cgrp) /* * Mark @cgrp and the associated csets dead. The former prevents * further task migration and child creation by disabling - * cgroup_lock_live_group(). The latter makes the csets ignored by + * cgroup_kn_lock_live(). The latter makes the csets ignored by * the migration path. */ cgrp->self.flags &= ~CSS_ONLINE; -- 2.33.0