2023-03-04 07:30:21

by Kamalesh Babulal

[permalink] [raw]
Subject: [PATCH] device_cgroup: Fix typo in devcgroup_css_alloc description

Fix the stale cgroup.c path in the devcgroup_css_alloc() description.

Signed-off-by: Kamalesh Babulal <[email protected]>
---
security/device_cgroup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/device_cgroup.c b/security/device_cgroup.c
index bef2b9285fb3..7507d14eacc7 100644
--- a/security/device_cgroup.c
+++ b/security/device_cgroup.c
@@ -216,7 +216,7 @@ static void devcgroup_offline(struct cgroup_subsys_state *css)
}

/*
- * called from kernel/cgroup.c with cgroup_lock() held.
+ * called from kernel/cgroup/cgroup.c with cgroup_lock() held.
*/
static struct cgroup_subsys_state *
devcgroup_css_alloc(struct cgroup_subsys_state *parent_css)
--
2.34.3



2023-03-08 22:07:30

by Paul Moore

[permalink] [raw]
Subject: Re: [PATCH] device_cgroup: Fix typo in devcgroup_css_alloc description

On Sat, Mar 4, 2023 at 2:30 AM Kamalesh Babulal
<[email protected]> wrote:
>
> Fix the stale cgroup.c path in the devcgroup_css_alloc() description.
>
> Signed-off-by: Kamalesh Babulal <[email protected]>
> ---
> security/device_cgroup.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Merged into lsm/next, thanks.

> diff --git a/security/device_cgroup.c b/security/device_cgroup.c
> index bef2b9285fb3..7507d14eacc7 100644
> --- a/security/device_cgroup.c
> +++ b/security/device_cgroup.c
> @@ -216,7 +216,7 @@ static void devcgroup_offline(struct cgroup_subsys_state *css)
> }
>
> /*
> - * called from kernel/cgroup.c with cgroup_lock() held.
> + * called from kernel/cgroup/cgroup.c with cgroup_lock() held.
> */
> static struct cgroup_subsys_state *
> devcgroup_css_alloc(struct cgroup_subsys_state *parent_css)
> --
> 2.34.3

--
paul-moore.com