diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-03-18 18:34:37 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-03-18 18:34:37 -0500 |
commit | 483f4afc421435b7cfe5e88f74eea0b73a476d75 (patch) | |
tree | 9a3bbcf8ae83c5edb9ab1f9e98333d6f5673211b /include/linux/blkdev.h | |
parent | 1312f40e11c57edb5c3250f1b782cef8e3efea82 (diff) |
[PATCH] fix sysfs interaction and lifetime rules handling for queues
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r-- | include/linux/blkdev.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h index 80518f703538..56bb6a4e15f3 100644 --- a/include/linux/blkdev.h +++ b/include/linux/blkdev.h | |||
@@ -406,8 +406,6 @@ struct request_queue | |||
406 | 406 | ||
407 | struct blk_queue_tag *queue_tags; | 407 | struct blk_queue_tag *queue_tags; |
408 | 408 | ||
409 | atomic_t refcnt; | ||
410 | |||
411 | unsigned int nr_sorted; | 409 | unsigned int nr_sorted; |
412 | unsigned int in_flight; | 410 | unsigned int in_flight; |
413 | 411 | ||
@@ -426,6 +424,8 @@ struct request_queue | |||
426 | struct request pre_flush_rq, bar_rq, post_flush_rq; | 424 | struct request pre_flush_rq, bar_rq, post_flush_rq; |
427 | struct request *orig_bar_rq; | 425 | struct request *orig_bar_rq; |
428 | unsigned int bi_size; | 426 | unsigned int bi_size; |
427 | |||
428 | struct mutex sysfs_lock; | ||
429 | }; | 429 | }; |
430 | 430 | ||
431 | #define RQ_INACTIVE (-1) | 431 | #define RQ_INACTIVE (-1) |
@@ -727,7 +727,7 @@ extern long nr_blockdev_pages(void); | |||
727 | int blk_get_queue(request_queue_t *); | 727 | int blk_get_queue(request_queue_t *); |
728 | request_queue_t *blk_alloc_queue(gfp_t); | 728 | request_queue_t *blk_alloc_queue(gfp_t); |
729 | request_queue_t *blk_alloc_queue_node(gfp_t, int); | 729 | request_queue_t *blk_alloc_queue_node(gfp_t, int); |
730 | #define blk_put_queue(q) blk_cleanup_queue((q)) | 730 | extern void blk_put_queue(request_queue_t *); |
731 | 731 | ||
732 | /* | 732 | /* |
733 | * tag stuff | 733 | * tag stuff |