From: Sebastian Ott Date: Fri, 13 Jun 2014 15:02:24 +0000 (+0200) Subject: s390/ccwgroup: obtain extra reference for asynchronous processing X-Git-Tag: omap-for-v3.17/soc-cleanup~65^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9280ddb19489fa24e2d4f6f492d185ae1172bec2;p=pandora-kernel.git s390/ccwgroup: obtain extra reference for asynchronous processing Commit 0b60f9ead5d4816e7e3d6e28f4a0d22d4a1b2513 "s390: use device_remove_file_self() instead of device_schedule_callback()" changed ccwgroup to use an extra work queue instead of device_schedule_callback. This function obtained an extra device reference for its async work which is missing in the new implementation and results in a "freeing memory with a lock still held" BUG. Fix this by obtaining an extra reference for the async work. Reported-by: Stefan Raspl Signed-off-by: Sebastian Ott Signed-off-by: Martin Schwidefsky --- Reading git-diff-tree failed