Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33629
b: refs/heads/master
c: f8986c2
h: refs/heads/master
i:
  33627: 8bf6b63
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Aug 27, 2006
1 parent eb89da8 commit 8318a0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cb3e0fe3a5dabdc5eda50b825acb23bdfa2d1d55
refs/heads/master: f8986c241dfd54d51c9eff967129a550ae230144
4 changes: 1 addition & 3 deletions trunk/kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -4162,10 +4162,8 @@ do_sched_setscheduler(pid_t pid, int policy, struct sched_param __user *param)
read_unlock_irq(&tasklist_lock);
return -ESRCH;
}
get_task_struct(p);
read_unlock_irq(&tasklist_lock);
retval = sched_setscheduler(p, policy, &lparam);
put_task_struct(p);
read_unlock_irq(&tasklist_lock);

return retval;
}
Expand Down

0 comments on commit 8318a0e

Please sign in to comment.