From patchwork Thu Aug 3 11:57:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miaohe Lin X-Patchwork-Id: 130532 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp1101879vqx; Thu, 3 Aug 2023 05:10:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlE13AjGs2BzQPcg0wAXpI2RRExdiuijuZBDiVmfVpzv1he7e/Ibd78Qf8RfXnsjNxp+9lnP X-Received: by 2002:a17:90a:6a88:b0:268:3d27:4592 with SMTP id u8-20020a17090a6a8800b002683d274592mr23343414pjj.7.1691064616866; Thu, 03 Aug 2023 05:10:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691064616; cv=none; d=google.com; s=arc-20160816; b=m6Y/jMlezOBSZV7/p6gcic1jUAgj2ju7RqXVdenPKtj++cjcvyUIgmbUfm/vO4da+k K+HJri8CpHmIXcsYneNHdBku1et3n7xFDn30qe6SC2fc9anSlks3j/31+jLMkNLIRtih 8GrtkthkSsh+crgJGUjuZpyYvN8juOjV1+rVYRp+kp7FAsMXO9m4rFriiYvLlSlfIrzZ wuKUqNw8KqJExRQCYoV6kO5tpHMeBKZauY5Xd/y7DmziuuixoFb+D49iybsxngvZOEc5 h9jtfLeAF/7eFQzHXfXm1hjFCKkDgProAA1kdfskKyrKXBHboXgySQ6zNHyZ8Fqmnx/z Sl6w== 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 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.10.00; Thu, 03 Aug 2023 05:10:16 -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 S233905AbjHCL5X (ORCPT + 99 others); Thu, 3 Aug 2023 07:57:23 -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 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773209771773037509 X-GMAIL-MSGID: 1773209771773037509 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 Acked-by: Johannes Weiner --- 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;