From: Jens Axboe Date: Tue, 16 Sep 2014 19:38:51 +0000 (-0600) Subject: genhd: fix leftover might_sleep() in blk_free_devt() X-Git-Tag: v3.2.64~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=607530bf21828c96c2880282c844088baf6ae3c4;p=pandora-kernel.git genhd: fix leftover might_sleep() in blk_free_devt() commit 46f341ffcfb5d8530f7d1e60f3be06cce6661b62 upstream. Commit 2da78092 changed the locking from a mutex to a spinlock, so we now longer sleep in this context. But there was a leftover might_sleep() in there, which now triggers since we do the final free from an RCU callback. Get rid of it. Reported-by: Pontus Fuchs Signed-off-by: Jens Axboe Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed