diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-03-03 02:52:51 +0300 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-03-15 02:31:08 +0300 |
commit | 904f0bc482201fa86e75c330d79dfd11be494cf8 (patch) | |
tree | 150fa17a137ecc22c22accf126c61e9dd79d354b /drivers/scsi | |
parent | 853e2bd2103aaa91d1ba1c0b57ba17628d836f03 (diff) | |
download | linux-904f0bc482201fa86e75c330d79dfd11be494cf8.tar.xz |
[SCSI] target: Fix volume size misreporting for volumes > 2TB
the target infrastructure fails to send the correct conventional size
to READ_CAPACITY that force a retry with READ_CAPACITY_16, which reads
the capacity for devices > 2TB. Fix by adding the correct return to
trigger RC(16).
Reported-by: Ben Jarvis <bjarvismn@gmail.com>
Signed-off-by: Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions