blkio: Initialize blkg->stats_lock for the root cfqg too
authorDivyesh Shah <dpshah@google.com>
Fri, 16 Apr 2010 06:10:51 +0000 (08:10 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Fri, 16 Apr 2010 06:10:51 +0000 (08:10 +0200)
commit8d2a91f8960b230b8bbcc4d97ed2015f5271c87d
tree54b742bd0ce37c1ec227178d23d7da347993a6b5
parentb6ac23af2c66e114d3a87ef28d56f1ceec283007
blkio: Initialize blkg->stats_lock for the root cfqg too

This fixes the lockdep warning reported by Gui Jianfeng.

Signed-off-by: Divyesh Shah <dpshah@google.com>
Reviewed-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-cgroup.c
block/blk-cgroup.h
block/cfq-iosched.c