target: Fix sense data for out-of-bounds IO operations
commit33633676df0d16d0685f2fbc571143801bc16e3b
authorRoland Dreier <roland@purestorage.com>
Fri, 8 Feb 2013 23:18:38 +0000 (8 15:18 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 13 Feb 2013 19:54:50 +0000 (13 11:54 -0800)
treea439b1714313e53af48192c83908d203f1a4b337
parentbbf344e54ed9a76e344d08feedc70ab2c5a8a64c
target: Fix sense data for out-of-bounds IO operations

We're supposed to return LOGICAL BLOCK ADDRESS OUT OF RANGE, not
INVALID FIELD IN CDB.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_sbc.c