sd.c: be more cautious in asking for mode page 8 data,
commitabd184cb4bf6fcb965c4aafab88e26ef6a46ccec
authorLinus Torvalds <torvalds@home.osdl.org>
Wed, 24 Sep 2003 02:45:35 +0000 (23 19:45 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 24 Sep 2003 02:45:35 +0000 (23 19:45 -0700)
treeb7cf51a3fbfc6bcf8118fea3107ec13209ebcf66
parentdd7937d338f549b80be239caf18d5dc6c22a2921
sd.c: be more cautious in asking for mode page 8 data,
sanity-checking the information more carefully.

The old code basically just used a random-number approach
to determine how much to read.
drivers/scsi/sd.c