mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-25 20:20:23 +00:00
Merge pull request #472 from hodgesds/const-fixes
scx_layered: Fix cred declaration
This commit is contained in:
commit
fee0995691
@ -982,7 +982,7 @@ void BPF_STRUCT_OPS(layered_dispatch, s32 cpu, struct task_struct *prev)
|
||||
static bool match_one(struct layer_match *match, struct task_struct *p, const char *cgrp_path)
|
||||
{
|
||||
bool result = false;
|
||||
struct cred *cred;
|
||||
const struct cred *cred;
|
||||
|
||||
switch (match->kind) {
|
||||
case MATCH_CGROUP_PREFIX: {
|
||||
|
Loading…
Reference in New Issue
Block a user