diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-03-12 17:02:03 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-03-19 00:34:20 +0100 |
commit | 1312f40e11c57edb5c3250f1b782cef8e3efea82 (patch) | |
tree | 0aae9e7fe6211d83212991e84789fcd7e9908ced /drivers/block/loop.c | |
parent | [PATCH] fix cfq_get_queue()/ioprio_set(2) races (diff) | |
download | linux-1312f40e11c57edb5c3250f1b782cef8e3efea82.tar.xz linux-1312f40e11c57edb5c3250f1b782cef8e3efea82.zip |
[PATCH] regularize blk_cleanup_queue() use
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/block/loop.c')
-rw-r--r-- | drivers/block/loop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 5f6d1a5cce11..0010704739e3 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -1307,7 +1307,7 @@ static int __init loop_init(void) out_mem4: while (i--) - blk_put_queue(loop_dev[i].lo_queue); + blk_cleanup_queue(loop_dev[i].lo_queue); devfs_remove("loop"); i = max_loop; out_mem3: @@ -1328,7 +1328,7 @@ static void loop_exit(void) for (i = 0; i < max_loop; i++) { del_gendisk(disks[i]); - blk_put_queue(loop_dev[i].lo_queue); + blk_cleanup_queue(loop_dev[i].lo_queue); put_disk(disks[i]); } devfs_remove("loop"); |