diff options
author | Martin K. Petersen <[email protected]> | 2009-01-04 03:04:34 -0500 |
---|---|---|
committer | James Bottomley <[email protected]> | 2009-01-05 09:06:23 -0600 |
commit | 5db524bd469290212781e1cb0293b57a7a1c000a (patch) | |
tree | 04f26ae6eaab0507efba49a5a30b43e29149b0b6 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | becce74b8231f8b5e51165e797f6c950d1dbcf67 (diff) |
[SCSI] sd: Correctly handle 6-byte commands with DIX
DIF does not work with 6-byte commands so we previously ignored those
commands when preparing a request. However, DIX does not need
RDPROTECT/WRPROTECT to be set and 6-byte commands are consequently
perfectly valid in host-only mode.
This patch fixes a problem where we would set the wrong DIX operation
when issuing commands to a legacy disk.
Signed-off-by: Martin K. Petersen <[email protected]>
Reviewed-by: Matthew Wilcox <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions