[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: NMike Anderson <andmike@us.ibm.com> Acked-by: NChris Mason <mason@suse.com> Signed-off-by: NHannes Reinecke <hare@suse.de> Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
Showing
想要评论请 注册 或 登录