target: update error handling for sbc_setup_write_same()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 27 Nov 2012 14:27:01 +0000 (17:27 +0300)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 28 Nov 2012 06:49:21 +0000 (22:49 -0800)
commit6b64e1fe2ba80ac3ce12a21f1200bac594fa1a1c
tree700d6a4076387f7e2059d70ea005f1a4209d34c7
parent3c989d7603872bf878840f7ce3ea49b73bea4c6c
target: update error handling for sbc_setup_write_same()

We recently changed this to return positive subsystem error codes so the
error handling needs to be updated.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_sbc.c