commit | 2ac3cee5298a247b2774f3319b28a05f588c3f0e | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Wed Sep 03 08:53:37 2008 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Thu Oct 09 08:56:04 2008 +0200 |
tree | e297bbd502f1a8a52436358c5184f7de1cb43f56 | |
parent | ac65ece4eee10b03ac29ee925cadc179dc810bab [diff] |
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>