Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127610
b: refs/heads/master
c: 5a7625d
h: refs/heads/master
v: v3
  • Loading branch information
Li Zefan authored and Linus Torvalds committed Jan 8, 2009
1 parent 586a995 commit 4b886f3
Show file tree
Hide file tree
Showing 2 changed files with 4 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: f5813d94279a18ff5936d675e24b44b44a571197
refs/heads/master: 5a7625df725a486ad600b0036b6111dbd6321c41
6 changes: 3 additions & 3 deletions trunk/kernel/cpuset.c
Original file line number Diff line number Diff line change
Expand Up @@ -1486,13 +1486,13 @@ static int cpuset_write_resmask(struct cgroup *cgrp, struct cftype *cft,

static int cpuset_sprintf_cpulist(char *page, struct cpuset *cs)
{
cpumask_t mask;
int ret;

mutex_lock(&callback_mutex);
mask = cs->cpus_allowed;
ret = cpulist_scnprintf(page, PAGE_SIZE, &cs->cpus_allowed);
mutex_unlock(&callback_mutex);

return cpulist_scnprintf(page, PAGE_SIZE, &mask);
return ret;
}

static int cpuset_sprintf_memlist(char *page, struct cpuset *cs)
Expand Down

0 comments on commit 4b886f3

Please sign in to comment.