diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2022-09-17 15:27:04 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2022-09-17 16:52:02 +0200 |
commit | 8e5de897691a359d849fe97a7e235537f4f9cc14 (patch) | |
tree | d4e744a61ec4d6eb06ebde0e57590505806dc8bb /target/linux/layerscape/patches-5.4/303-core-0003-cgroup-let-a-symlink-too-be-created-with-a-cftype-fi.patch | |
parent | 44ce70f0e209c12cc9548d5fa60890997a2707f2 (diff) | |
download | upstream-8e5de897691a359d849fe97a7e235537f4f9cc14.tar.gz upstream-8e5de897691a359d849fe97a7e235537f4f9cc14.tar.bz2 upstream-8e5de897691a359d849fe97a7e235537f4f9cc14.zip |
kernel: bump 5.4 to 5.4.213
Manually adapted:
layerscape/patches-5.4/820-usb-0009-usb-dwc3-Add-workaround-for-host-mode-VBUS-glitch-wh.patch
Compile-tested: x86/64
Run-tested: x86/64
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
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); } |