From: James Bottomley Date: Sat, 29 Dec 2007 16:59:53 +0000 (-0600) Subject: [SCSI] libsas, bsg: pass errors through correctly X-Git-Tag: v2.6.25-rc1~1230^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d507a01dac338831266b44ccbb01c69e84606ed;p=pandora-kernel.git [SCSI] libsas, bsg: pass errors through correctly Currently in BSG, errors returned in req->errors aren't passed back to the calling programme (either via SG_IO or via read/write). Fix this, while preserving the SCSI convention of returning status in req->errors. Now update libsas to return errors correctly instead of to ignore them. Acked-by: FUJITA Tomonori Signed-off-by: James Bottomley --- Reading git-diff-tree failed