]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
block: don't grab block_class_lock unnecessarily
authorTejun Heo <tj@kernel.org>
Wed, 3 Sep 2008 06:53:37 +0000 (08:53 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 9 Oct 2008 06:56:04 +0000 (08:56 +0200)
commit2ac3cee5298a247b2774f3319b28a05f588c3f0e
treee297bbd502f1a8a52436358c5184f7de1cb43f56
parentac65ece4eee10b03ac29ee925cadc179dc810bab
block: don't grab block_class_lock unnecessarily

block_class_lock protects major_names array and bdev_map and doesn't
have anything to do with block class devices.  Don't grab them while
iterating over block class devices.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/genhd.c