diff options
Diffstat (limited to 'target/linux/layerscape/patches-5.4/303-core-0003-cgroup-let-a-symlink-too-be-created-with-a-cftype-fi.patch')
-rw-r--r-- | target/linux/layerscape/patches-5.4/303-core-0003-cgroup-let-a-symlink-too-be-created-with-a-cftype-fi.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/layerscape/patches-5.4/303-core-0003-cgroup-let-a-symlink-too-be-created-with-a-cftype-fi.patch b/target/linux/layerscape/patches-5.4/303-core-0003-cgroup-let-a-symlink-too-be-created-with-a-cftype-fi.patch index 79323b618d..5436ee7841 100644 --- a/target/linux/layerscape/patches-5.4/303-core-0003-cgroup-let-a-symlink-too-be-created-with-a-cftype-fi.patch +++ b/target/linux/layerscape/patches-5.4/303-core-0003-cgroup-let-a-symlink-too-be-created-with-a-cftype-fi.patch @@ -37,7 +37,7 @@ Signed-off-by: Li Yang <leoyang.li@nxp.com> /* --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c -@@ -1467,8 +1467,8 @@ struct cgroup *task_cgroup_from_root(str +@@ -1468,8 +1468,8 @@ struct cgroup *task_cgroup_from_root(str static struct kernfs_syscall_ops cgroup_kf_syscall_ops; @@ -48,7 +48,7 @@ Signed-off-by: Li Yang <leoyang.li@nxp.com> { struct cgroup_subsys *ss = cft->ss; -@@ -1478,13 +1478,26 @@ static char *cgroup_file_name(struct cgr +@@ -1479,13 +1479,26 @@ static char *cgroup_file_name(struct cgr snprintf(buf, CGROUP_FILE_NAME_MAX, "%s%s.%s", dbg, cgroup_on_dfl(cgrp) ? ss->name : ss->legacy_name, @@ -77,7 +77,7 @@ Signed-off-by: Li Yang <leoyang.li@nxp.com> /** * cgroup_file_mode - deduce file mode of a control file * @cft: the control file in question -@@ -1643,6 +1656,9 @@ static void cgroup_rm_file(struct cgroup +@@ -1644,6 +1657,9 @@ static void cgroup_rm_file(struct cgroup } kernfs_remove_by_name(cgrp->kn, cgroup_file_name(cgrp, cft, name)); @@ -87,7 +87,7 @@ Signed-off-by: Li Yang <leoyang.li@nxp.com> } /** -@@ -3933,6 +3949,7 @@ static int cgroup_add_file(struct cgroup +@@ -3994,6 +4010,7 @@ static int cgroup_add_file(struct cgroup { char name[CGROUP_FILE_NAME_MAX]; struct kernfs_node *kn; @@ -95,7 +95,7 @@ Signed-off-by: Li Yang <leoyang.li@nxp.com> struct lock_class_key *key = NULL; int ret; -@@ -3963,6 +3980,14 @@ static int cgroup_add_file(struct cgroup +@@ -4024,6 +4041,14 @@ static int cgroup_add_file(struct cgroup spin_unlock_irq(&cgroup_file_kn_lock); } |