summaryrefslogtreecommitdiff
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorJames Bottomley <jejb@mulgrave.(none)>2002-11-19 07:13:45 -0600
committerChristoph Hellwig <hch@lst.de>2002-11-19 07:13:45 -0600
commit3dda41af8cf941d5f5db01dd85df502c5d96aa02 (patch)
treecec1b9506407fa10b13b05affbe0efb51d127f11 /include/linux/blkdev.h
parentd0a39a41bb14f2e8f86ba5b6b7af76d5df3465c4 (diff)
fix queue run on returning I/O [axboe@suse.de]
On returning I/O, need to unplug the queue before we call the queue_fn. This fixes a problem in 2.5.48 where the aic7xxx driver hangs under e2fsck.
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index d9b416ebc966..6730edd230e0 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -321,6 +321,7 @@ extern int scsi_cmd_ioctl(struct block_device *, unsigned int, unsigned long);
extern void blk_start_queue(request_queue_t *q);
extern void blk_stop_queue(request_queue_t *q);
extern void __blk_stop_queue(request_queue_t *q);
+extern void __blk_run_queue(request_queue_t *q);
static inline request_queue_t *bdev_get_queue(struct block_device *bdev)
{