Skip to content
Commit b46d1f7b authored by Vasily Tarasov's avatar Vasily Tarasov Committed by Adrian Bunk
Browse files

block layer: elv_iosched_show should get elv_list_lock



elv_iosched_show function iterates other elv_list,
hence elv_list_lock should be got.

Also the question is: in elv_iosched_show, elv_iosched_store
q->elevator->elevator_type construction is used without locking q->queue_lock.
Is it expected?..

Signed-off-by: default avatarVasily Tarasov <vtaras@openvz.org>
Acked-by: default avatarJens Axboe <jens.axboe@oracle.com>
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
parent 18ff1582
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment