[SCSI] Wrong size information for devices with disabled read access
authorHannes Reinecke <hare@suse.de>
Fri, 1 Sep 2006 13:50:23 +0000 (15:50 +0200)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sat, 2 Sep 2006 18:37:47 +0000 (13:37 -0500)
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>

No differences found