patch-2.1.4 linux/drivers/block/floppy.c
Next file: linux/drivers/block/hd.c
Previous file: linux/drivers/block/ataflop.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Oct 13 21:11:09 1996
- Orig file:
v2.1.3/linux/drivers/block/floppy.c
- Orig date:
Sat Sep 28 23:05:16 1996
diff -u --recursive --new-file v2.1.3/linux/drivers/block/floppy.c linux/drivers/block/floppy.c
@@ -2844,7 +2844,7 @@
int ret;
ECALL(verify_area(VERIFY_WRITE,param,size));
- memcpy_tofs(param,(void *) address, size);
+ copy_to_user(param,(void *) address, size);
return 0;
}
@@ -2853,7 +2853,7 @@
int ret;
ECALL(verify_area(VERIFY_READ,param,size));
- memcpy_fromfs((void *) address, param, size);
+ copy_from_user((void *) address, param, size);
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov