summaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
authorLi Zefan <lizf@cn.fujitsu.com>2010-05-07 08:57:00 +0200
committerJens Axboe <jens.axboe@oracle.com>2010-05-07 08:57:00 +0200
commit0341509fdfc9519f7de6aabc5dd23217cef72b73 (patch)
tree84415f35129013b9d8fb3f5f0ef266437a02f09c /arch/cris
parentdcf097b247affd8b88ad410a92298590c5600f44 (diff)
downloadblackbird-op-linux-0341509fdfc9519f7de6aabc5dd23217cef72b73.tar.gz
blackbird-op-linux-0341509fdfc9519f7de6aabc5dd23217cef72b73.zip
blk-cgroup: Fix an RCU warning in blkiocg_create()
with CONFIG_PROVE_RCU=y, a warning can be triggered: # mount -t cgroup -o blkio xxx /mnt # mkdir /mnt/subgroup ... kernel/cgroup.c:4442 invoked rcu_dereference_check() without protection! ... To fix this, we avoid caling css_depth() here, which is a bit simpler than the original code. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'arch/cris')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud