diff options
author | Christoph Hellwig <hch@lst.de> | 2012-11-06 21:24:09 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-11-07 05:55:46 +0100 |
commit | de103c93aff0bed0ae984274e5dc8b95899badab (patch) | |
tree | 7db9bba755fa95772052e8d31285a38ba48f1a84 /.mailmap | |
parent | target: Fix incorrect starting offset after MODE_SENSE refactoring (diff) | |
download | linux-de103c93aff0bed0ae984274e5dc8b95899badab.tar.xz linux-de103c93aff0bed0ae984274e5dc8b95899badab.zip |
target: pass sense_reason as a return value
Pass the sense reason as an explicit return value from the I/O submission
path instead of storing it in struct se_cmd and using negative return
values. This cleans up a lot of the code pathes, and with the sparse
annotations for the new sense_reason_t type allows for much better
error checking.
(nab: Convert spc_emulate_modesense + spc_emulate_modeselect to use
sense_reason_t with Roland's MODE SELECT changes)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions