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