From: Petr Vandrovec Date: Wed, 19 Nov 2008 10:12:14 +0000 (+0100) Subject: When block layer fails to map iov, it calls bio_unmap_user to undo X-Git-Tag: v2.6.28-rc8~65^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53cc0b2948bcb8a084982e6c1f9bd7b337e0df38;p=pandora-kernel.git When block layer fails to map iov, it calls bio_unmap_user to undo mapping. Which is good if pages were mapped - but if they were provided by someone else and just copied then bad things happen - pages are released once here, and once by caller, leading to user triggerable BUG at include/linux/mm.h:246. Signed-off-by: Petr Vandrovec Signed-off-by: Jens Axboe --- Reading git-diff-tree failed