[patch] 2.3.3 / st.c

Aleksey I Zavilohin (villain@villain.home.ems.chel.su)
Tue, 18 May 1999 01:39:50 +0600


small fix for st.c

--- st.c.old Tue May 18 01:14:17 1999
+++ st.c Tue May 18 01:26:54 1999
@@ -3380,7 +3380,7 @@

tpnt->devt = MKDEV(SCSI_TAPE_MAJOR, i);
tpnt->dirty = 0;
- tpnt->waiting = NULL;
+ init_waitqueue_head(&tpnt->waiting);
tpnt->in_use = 0;
tpnt->drv_buffer = 1; /* Try buffering if no mode sense */
tpnt->restr_dma = (SDp->host)->unchecked_isa_dma;

-- 
Why, every one as they like; as the good woman said when she kissed her cow.
		-- Rabelais

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/