diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2011-03-23 23:42:48 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-03-24 02:46:35 (GMT) |
commit | 523fb486bfd94e3a3b16a42bcb21b1959cf14df8 (patch) | |
tree | 34c1b15a9bc55ef7a3bafb87cce3d3d184d78906 /fs/hfsplus/dir.c | |
parent | ee24d3797780eee6ffe581a7b78d27896f9b494a (diff) | |
download | linux-523fb486bfd94e3a3b16a42bcb21b1959cf14df8.tar.xz |
cpuset: hold callback_mutex in cpuset_post_clone()
Chaning cpuset->mems/cpuset->cpus should be protected under
callback_mutex.
cpuset_clone() doesn't follow this rule. It's ok because it's
called when creating and initializing a cgroup, but we'd better
hold the lock to avoid subtil break in the future.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Paul Menage <menage@google.com>
Acked-by: David Rientjes <rientjes@google.com>
Cc: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hfsplus/dir.c')
0 files changed, 0 insertions, 0 deletions