git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
target: Fix WRITE_SAME_16 lba assignment breakage
[pandora-kernel.git]
/
drivers
/
target
/
target_core_transport.c
diff --git
a/drivers/target/target_core_transport.c
b/drivers/target/target_core_transport.c
index
c75a01a
..
ff7fcf8
100644
(file)
--- a/
drivers/target/target_core_transport.c
+++ b/
drivers/target/target_core_transport.c
@@
-3324,7
+3324,7
@@
static int transport_generic_cmd_sequencer(
goto out_invalid_cdb_field;
}
- cmd->t_task_lba = get_unaligned_be
16
(&cdb[2]);
+ cmd->t_task_lba = get_unaligned_be
64
(&cdb[2]);
passthrough = (dev->transport->transport_type ==
TRANSPORT_PLUGIN_PHBA_PDEV);
/*