summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Martinez Canillas <martinez.javier@gmail.com>2011-01-05 00:18:02 +0100
committerJavier Martinez Canillas <martinez.javier@gmail.com>2011-01-08 00:50:46 +0100
commit2271ac7ec52199572c21c7469c549942b0aed7a2 (patch)
tree0cc6ded0ad7b8f7db1c6f3f93e5db137cf79b02f
parentdac18ff0c3f815cc874168dd9cb0cc67b0909f21 (diff)
downloadldd3-2271ac7ec52199572c21c7469c549942b0aed7a2.tar.gz
sbull: blk_put_queue() is not an exported symbol anymore. Use kobject_put(q->kobj) instead
-rw-r--r--sbull/sbull.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbull/sbull.c b/sbull/sbull.c
index b826769..cbc37db 100644
--- a/sbull/sbull.c
+++ b/sbull/sbull.c
@@ -440,7 +440,7 @@ static void sbull_exit(void)
}
if (dev->queue) {
if (request_mode == RM_NOQUEUE)
- blk_put_queue(dev->queue);
+ kobject_put (&dev->queue->kobj);
else
blk_cleanup_queue(dev->queue);
}