PATCH: sd.c -- fix for testing WP bit

2000-09-05 Thread Matthew Dharm
Attached is a patch to linux/drivers/scsi/sd.c which fixes the behavior of the code which tests the WP bit. This patch is generated against 2.4.0-test8-pre4. Specifically, thsi code fixes the case where the device in question does not have a page 1 (I found one, this is how I found the bug).

PATCH: sd.c -- fix for testing WP bit

2000-09-05 Thread Matthew Dharm
Attached is a patch to linux/drivers/scsi/sd.c which fixes the behavior of the code which tests the WP bit. This patch is generated against 2.4.0-test8-pre4. Specifically, thsi code fixes the case where the device in question does not have a page 1 (I found one, this is how I found the bug).