patch-1.3.76 linux/drivers/block/floppy.c
Next file: linux/drivers/block/ide.c
Previous file: linux/arch/i386/math-emu/version.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Mar 16 23:13:55 1996
- Orig file:
v1.3.75/linux/drivers/block/floppy.c
- Orig date:
Fri Mar 15 16:03:10 1996
diff -u --recursive --new-file v1.3.75/linux/drivers/block/floppy.c linux/drivers/block/floppy.c
@@ -175,7 +175,7 @@
{
int order;
- size >>= (PAGE_SHIFT-1);
+ size = (size-1) >> (PAGE_SHIFT-1);
order = -1;
do {
size >>= 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this