diff options
| author | Sebastian Andrzej Siewior <[email protected]> | 2012-01-18 13:04:29 +0000 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2012-02-07 06:32:39 +0000 |
| commit | 95fe1ee41e23fa271416da67483594dde74bc6ca (patch) | |
| tree | 6bfed9186c9fbec3954f4c9f590802ade39ffbe7 /fs/jbd2/commit.c | |
| parent | target: Fail INQUIRY commands with EVPD==0 but PAGE CODE!=0 (diff) | |
| download | kernel-95fe1ee41e23fa271416da67483594dde74bc6ca.tar.gz kernel-95fe1ee41e23fa271416da67483594dde74bc6ca.zip | |
target: accept REQUEST_SENSE with 18bytes
WindowsXP+BOT issues a MODE_SENSE request with page 0x1c which is not
suppoerted by target. Target rejects that command with
TCM_INVALID_CDB_FIELD, so far so good. On BOT I can't send the SENSE
response back, instead I can only reply that an error occured. The next
thing happens is a REQUEST_SENSE request with 18 bytes length. Since the
check here is more than 18 bytes I have to NACK that request as well.
This is not really required: We check for some additional room, but we
never use it. The additional length is set to 0xa so the total length is
0xa + 8 = 18 which is fine with my 18 bytes.
Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
