diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2013-10-31 13:24:28 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2013-11-08 09:10:29 -0700 |
commit | ef0899410ff630b2e75306da49996dbbfa318165 (patch) | |
tree | 1e29b53d1e1b7fc0f455cdd92e6e2fb15d4d13b7 /lib/iommu-helper.c | |
parent | b88fac630bf71bd0af44502d6688e99a5426d438 (diff) |
s390/dasd: hold request queue sysfs lock when calling elevator_init()
"elevator: Fix a race in elevator switching and md device initialization"
changed the semantics of elevator_init() in a way that now enforces to hold
the corresponding request queue's sysfs_lock when calling elevator_init()
to fix a race.
The patch did not convert the s390 dasd device driver which is the only
device driver which also calls elevator_init(). So add the missing locking.
Cc: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/iommu-helper.c')
0 files changed, 0 insertions, 0 deletions