patch-2.1.88 linux/include/linux/blk.h
Next file: linux/include/linux/blkdev.h
Previous file: linux/include/linux/apm_bios.h
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Fri Feb 20 19:12:39 1998
- Orig file:
v2.1.87/linux/include/linux/blk.h
- Orig date:
Tue Feb 17 13:12:49 1998
diff -u --recursive --new-file v2.1.87/linux/include/linux/blk.h linux/include/linux/blk.h
@@ -12,7 +12,7 @@
* is mucked around with in interrupts on potentially
* multiple CPU's..
*/
-extern spinlock_t current_lock;
+extern spinlock_t io_request_lock;
/*
* NR_REQUEST is the number of entries in the request-queue.
@@ -445,6 +445,11 @@
#if ! SCSI_BLK_MAJOR(MAJOR_NR)
+/*
+ * The [*_]end_request() handler has to be called with the request queue
+ * spinlock aquired. All functions called within end_request() _must be_
+ * atomic.
+ */
#if defined(IDE_DRIVER) && !defined(_IDE_C) /* shared copy for IDE modules */
void ide_end_request(byte uptodate, ide_hwgroup_t *hwgroup);
#else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov