patch-2.1.75 linux/drivers/block/ll_rw_blk.c
Next file: linux/drivers/block/swim3.c
Previous file: linux/drivers/block/ide.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Sun Dec 21 17:14:45 1997
- Orig file:
v2.1.74/linux/drivers/block/ll_rw_blk.c
- Orig date:
Fri Dec 19 15:52:57 1997
diff -u --recursive --new-file v2.1.74/linux/drivers/block/ll_rw_blk.c linux/drivers/block/ll_rw_blk.c
@@ -95,7 +95,7 @@
static inline int get_max_sectors(kdev_t dev)
{
if (!max_sectors[MAJOR(dev)])
- return 244; /* 254? */
+ return MAX_SECTORS;
return max_sectors[MAJOR(dev)][MINOR(dev)];
}
@@ -684,6 +684,7 @@
dev->plug.rq_status = RQ_INACTIVE;
dev->plug.cmd = -1;
dev->plug.next = NULL;
+ dev->plug_tq.sync = 0;
dev->plug_tq.routine = &unplug_device;
dev->plug_tq.data = dev;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov