[PATCH] cgroup: fix obsolete function name above css_free_rwork_fn()

Miaohe Lin posted 1 patch 2 years, 6 months ago
kernel/cgroup/cgroup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] cgroup: fix obsolete function name above css_free_rwork_fn()
Posted by Miaohe Lin 2 years, 6 months ago
Since commit 8f36aaec9c92 ("cgroup: Use rcu_work instead of explicit rcu
and work item"), css_free_work_fn has been renamed to css_free_rwork_fn.
Update corresponding comment.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
---
 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 c7aafb59ecf2..d620d7ec47e8 100644
--- a/kernel/cgroup/cgroup.c
+++ b/kernel/cgroup/cgroup.c
@@ -5301,7 +5301,7 @@ static struct cftype cgroup_psi_files[] = {
  *    RCU callback.
  *
  * 4. After the grace period, the css can be freed.  Implemented in
- *    css_free_work_fn().
+ *    css_free_rwork_fn().
  *
  * It is actually hairier because both step 2 and 4 require process context
  * and thus involve punting to css->destroy_work adding two additional
-- 
2.33.0
Re: [PATCH] cgroup: fix obsolete function name above css_free_rwork_fn()
Posted by Tejun Heo 2 years, 6 months ago
On Tue, Aug 01, 2023 at 08:40:34PM +0800, Miaohe Lin wrote:
> Since commit 8f36aaec9c92 ("cgroup: Use rcu_work instead of explicit rcu
> and work item"), css_free_work_fn has been renamed to css_free_rwork_fn.
> Update corresponding comment.
> 
> Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>

Applied to cgroup/for-6.6.

Thanks.

-- 
tejun