diff options
author | Tejun Heo <tj@kernel.org> | 2008-09-03 08:53:37 +0200 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2008-10-09 08:56:04 +0200 |
commit | 2ac3cee5298a247b2774f3319b28a05f588c3f0e (patch) | |
tree | e297bbd502f1a8a52436358c5184f7de1cb43f56 /lib/klist.c | |
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>
Diffstat (limited to 'lib/klist.c')
0 files changed, 0 insertions, 0 deletions