[SCSI] libsas, bsg: pass errors through correctly
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 29 Dec 2007 16:59:53 +0000 (10:59 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:29:13 +0000 (18:29 -0600)
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 <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

No differences found