From: FUJITA Tomonori Date: Mon, 13 Apr 2009 18:03:10 +0000 (+0200) Subject: block: fix SG_IO to return a proper error value X-Git-Tag: v2.6.30-rc3~88^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91e463c8f5f7a5b09d3d034c01a88567af60c504;p=pandora-kernel.git block: fix SG_IO to return a proper error value blk_rq_unmap_user() returns -EFAULT if a program passes an invalid address to kernel. SG_IO path needs to pass the returned value to user space instead of ignoring it. Signed-off-by: FUJITA Tomonori Signed-off-by: Jens Axboe --- Reading git-diff-tree failed