summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2010-04-25 12:30:23 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-12 15:03:12 -0700
commita8717970e99de8f12cf65c00d9de3229138cde0e (patch)
tree17e24a4dcd596056564b16e39149cffeb1cf5636 /net/lapb/lapb_subr.c
parent2df9c62f2c89b7f3449a956167d337e0b3c3e1f8 (diff)
scsi_debug: virtual_gb ignores sector_size
commit 5447ed6c968e7270b656afa273c2b79d15d82edd upstream. In the scsi_debug driver, the virtual_gb option ignores the sector_size, implicitly assuming that is 512 bytes. So if 'virtual_gb=1 sector_size=4096' the result is an 8 GB (virtual) disk. Signed-off-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions