diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2006-03-12 11:02:03 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2006-03-18 18:34:20 -0500 |
commit | 1312f40e11c57edb5c3250f1b782cef8e3efea82 (patch) | |
tree | 0aae9e7fe6211d83212991e84789fcd7e9908ced /drivers/md/dm.c | |
parent | 6f325a13442d4e4a6c93d06d8e6deff79b6540b1 (diff) | |
download | talos-obmc-linux-1312f40e11c57edb5c3250f1b782cef8e3efea82.tar.gz talos-obmc-linux-1312f40e11c57edb5c3250f1b782cef8e3efea82.zip |
[PATCH] regularize blk_cleanup_queue() use
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/md/dm.c')
-rw-r--r-- | drivers/md/dm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 745ca1f67b14..88d60202b9db 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -840,7 +840,7 @@ static struct mapped_device *alloc_dev(unsigned int minor, int persistent) bad3: mempool_destroy(md->io_pool); bad2: - blk_put_queue(md->queue); + blk_cleanup_queue(md->queue); free_minor(minor); bad1: kfree(md); @@ -860,7 +860,7 @@ static void free_dev(struct mapped_device *md) del_gendisk(md->disk); free_minor(minor); put_disk(md->disk); - blk_put_queue(md->queue); + blk_cleanup_queue(md->queue); kfree(md); } |