commit | 2d507a01dac338831266b44ccbb01c69e84606ed | [log] [tgz] |
---|---|---|
author | James Bottomley <James.Bottomley@HansenPartnership.com> | Sat Dec 29 10:59:53 2007 -0600 |
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | Fri Jan 11 18:29:13 2008 -0600 |
tree | ec59ce6bc1ec86e93d1683107d41b5dbce0b370a | |
parent | 2d4b63e1505b317d4253cee3f2970792ec6d41cb [diff] |
[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 <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>