diff mbox series

device_cgroup: Fix typo in devcgroup_css_alloc description

Message ID 20230304072923.286534-1-kamalesh.babulal@oracle.com (mailing list archive)
State Accepted
Delegated to: Paul Moore
Headers show
Series device_cgroup: Fix typo in devcgroup_css_alloc description | expand

Commit Message

Kamalesh Babulal March 4, 2023, 7:29 a.m. UTC
Fix the stale cgroup.c path in the devcgroup_css_alloc() description.

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
---
 security/device_cgroup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paul Moore March 8, 2023, 10:07 p.m. UTC | #1
On Sat, Mar 4, 2023 at 2:30 AM Kamalesh Babulal
<kamalesh.babulal@oracle.com> wrote:
>
> Fix the stale cgroup.c path in the devcgroup_css_alloc() description.
>
> Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
> ---
>  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
diff mbox series

Patch

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)