patch-2.4.20 linux-2.4.20/drivers/mtd/devices/blkmtd.c
Next file: linux-2.4.20/drivers/mtd/devices/ms02-nv.c
Previous file: linux-2.4.20/drivers/mtd/devices/Makefile
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Thu Nov 28 15:53:13 2002
- Orig file:
linux-2.4.19/drivers/mtd/devices/blkmtd.c
- Orig date:
Mon Feb 25 11:37:58 2002
diff -urN linux-2.4.19/drivers/mtd/devices/blkmtd.c linux-2.4.20/drivers/mtd/devices/blkmtd.c
@@ -225,7 +225,7 @@
return err;
}
- /* Pre 2.4.4 doesnt have space for the block list in the kiobuf */
+ /* Pre 2.4.4 doesn't have space for the block list in the kiobuf */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,4)
blocks = kmalloc(KIO_MAX_SECTORS * sizeof(unsigned long));
if(blocks == NULL) {
@@ -320,7 +320,7 @@
return 0;
}
- /* Pre 2.4.4 doesnt have space for the block list in the kiobuf */
+ /* Pre 2.4.4 doesn't have space for the block list in the kiobuf */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,4)
blocks = kmalloc(KIO_MAX_SECTORS * sizeof(unsigned long));
if(blocks == NULL) {
@@ -360,7 +360,7 @@
int max_sectors = KIO_MAX_SECTORS >> (item->rawdevice->sector_bits - 9);
kdev_t dev = to_kdev_t(item->rawdevice->binding->bd_dev);
- /* If we are writing to the last page on the device and it doesnt end
+ /* If we are writing to the last page on the device and it doesn't end
* on a page boundary, subtract the number of sectors that dont exist.
*/
if(item->rawdevice->partial_last_page &&
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)