target: Fix WRITE_SAME_16 t_task_lba assignment bug
authorNicholas Bellinger <nab@linux-iscsi.org>
Tue, 3 May 2011 21:23:54 +0000 (14:23 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 22 Jul 2011 09:37:43 +0000 (09:37 +0000)
commit1eb437a4ac1813f21424b8c9c39575fd61528a26
treeba0fd018b7daf1ff6e725307b7ce97271ac74537
parent5951146dea1ac8ff2f177477c907084d63913cad
target: Fix WRITE_SAME_16 t_task_lba assignment bug

This patch fixes a bug in the assignment of cmd->t_task.t_task_lba with
WRITE_SAME_16 to correctly use get_unaligned_be64() for the 64-bit LBA.

Reported-by: Chris Greiveldinger <chris.greiveldinger@rnanetworks.com>
Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c