target: Fix user data segment multiplier in spc_emulate_evpd_b3()
authorSebastian Herbszt <herbszt@gmx.de>
Fri, 29 Aug 2014 22:31:11 +0000 (00:31 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 17 Sep 2014 17:53:25 +0000 (10:53 -0700)
commit096b49951712291824e9f9358a0c46417011098e
treec9dd44819bd6e817eb069d879c4a856113be3456
parent3687db882d8ec8f0792603ff00c2e80d791e49e8
target: Fix user data segment multiplier in spc_emulate_evpd_b3()

This patch fixes an apparent cut and paste error in spc_emulate_evpd_b3(),
where lba_map_segment_size was being used twice for the Referrals VPD.

Go ahead and set the correct user data segment multiplier instead of
user data segment size.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_spc.c