From: Heiko Carstens Date: Thu, 31 Oct 2013 12:24:28 +0000 (+0100) Subject: s390/dasd: hold request queue sysfs lock when calling elevator_init() X-Git-Tag: v3.13-rc1~100^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef0899410ff630b2e75306da49996dbbfa318165;p=pandora-kernel.git 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 Cc: Jens Axboe Signed-off-by: Heiko Carstens Signed-off-by: Jens Axboe --- Reading git-diff-tree failed