summaryrefslogtreecommitdiffstats
path: root/drivers/target/sbp
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2013-12-17 09:18:47 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2013-12-17 20:05:33 +0100
commit03ba84ca95a84dba9b42492edd2632dc3c7eb359 (patch)
treea19747e4c25e7eb33b33eb077903f38897b66e69 /drivers/target/sbp
parenttarget_core_alua: Use workqueue for ALUA transitioning (diff)
downloadlinux-03ba84ca95a84dba9b42492edd2632dc3c7eb359.tar.xz
linux-03ba84ca95a84dba9b42492edd2632dc3c7eb359.zip
target_core: simplify scsi_name_len calculation
scsi_name_len in spc_emulate_evpd_83 is calculated twice, with the results of the first calculation discarded. So remove it. And check for the maximum allowed length, too. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/sbp')
0 files changed, 0 insertions, 0 deletions