diff options
author | Hannes Reinecke <hare@suse.de> | 2006-09-01 15:50:23 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-09-02 13:37:47 -0500 |
commit | 69bdd88ca2670c321fef774e77059516f836c6f2 (patch) | |
tree | 4df0e1cc0bc90306762db2b0591dc7a067952365 /lib/prio_tree.c | |
parent | 01dfc7fc56f4b7ec0e5344ab44fcf673ebfbf7fa (diff) | |
download | blackbird-op-linux-69bdd88ca2670c321fef774e77059516f836c6f2.tar.gz blackbird-op-linux-69bdd88ca2670c321fef774e77059516f836c6f2.zip |
[SCSI] Wrong size information for devices with disabled read access
When accessing a device with disabled read access the capacity is set
randomly to 1GB. This makes it impossible to userspace tools to detect
invalid device capacities.
Signed-off-by: Mike Anderson <andmike@us.ibm.com>
Acked-by: Chris Mason <mason@suse.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'lib/prio_tree.c')
0 files changed, 0 insertions, 0 deletions