Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350352
b: refs/heads/master
c: 27e89ae
h: refs/heads/master
v: v3
  • Loading branch information
Li Zefan authored and Tejun Heo committed Jan 15, 2013
1 parent f354137 commit 0fc0941
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: f47b89c73ce7535339525c141a6a114db333f0bd
refs/heads/master: 27e89ae5d6e94e30231ee89a7736f62d84ba4c6f
8 changes: 4 additions & 4 deletions trunk/kernel/cpuset.c
Original file line number Diff line number Diff line change
Expand Up @@ -2678,15 +2678,15 @@ static int proc_cpuset_show(struct seq_file *m, void *unused_v)
goto out_free;

retval = -EINVAL;
mutex_lock(&cpuset_mutex);
rcu_read_lock();
css = task_subsys_state(tsk, cpuset_subsys_id);
retval = cgroup_path(css->cgroup, buf, PAGE_SIZE);
rcu_read_unlock();
if (retval < 0)
goto out_unlock;
goto out_put_task;
seq_puts(m, buf);
seq_putc(m, '\n');
out_unlock:
mutex_unlock(&cpuset_mutex);
out_put_task:
put_task_struct(tsk);
out_free:
kfree(buf);
Expand Down

0 comments on commit 0fc0941

Please sign in to comment.