diff options
| author | Martin Svec <[email protected]> | 2012-02-07 06:13:25 +0000 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2012-02-07 06:48:58 +0000 |
| commit | 67236c44741e250199ccd77f1115568e68cf8848 (patch) | |
| tree | 4b09d2017a0122984b694e167aeaff2afcc931e0 /fs/jbd2/commit.c | |
| parent | iscsi: use IP_FREEBIND socket option (diff) | |
| download | kernel-67236c44741e250199ccd77f1115568e68cf8848.tar.gz kernel-67236c44741e250199ccd77f1115568e68cf8848.zip | |
target: Fix unsupported WRITE_SAME sense payload
This patch fixes a bug in target-core where unsupported WRITE_SAME ops
from a target_check_write_same_discard() failure was incorrectly
returning CHECK_CONDITION w/ TCM_INVALID_CDB_FIELD sense data.
This was causing some clients to not properly fall back, so go ahead
and use the correct TCM_UNSUPPORTED_SCSI_OPCODE sense for this case.
Reported-by: Martin Svec <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
