summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2011-09-21 10:01:22 +0200
committerJens Axboe <axboe@kernel.dk>2011-09-21 10:01:22 +0200
commit499337bb6511e665a236a6a947f819d98ea340c6 (patch)
tree40ec21dd59a8108a731c991d9d590540d42d23ff
parent75df713627f28f88b901b329c8857747545fd4ab (diff)
downloadlinux-3.10-499337bb6511e665a236a6a947f819d98ea340c6.tar.gz
linux-3.10-499337bb6511e665a236a6a947f819d98ea340c6.tar.bz2
linux-3.10-499337bb6511e665a236a6a947f819d98ea340c6.zip
block/blk-sysfs.c: fix kerneldoc references
The kerneldoc for blk_release_queue() is referring to blk_cleanup_queue(). Cc: Jens Axboe <axboe@kernel.dk> Signed-off-by: Andrew Morton <akpm@google.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--block/blk-sysfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/block/blk-sysfs.c b/block/blk-sysfs.c
index 0ee17b5e7fb..adc923e9d1f 100644
--- a/block/blk-sysfs.c
+++ b/block/blk-sysfs.c
@@ -455,11 +455,11 @@ queue_attr_store(struct kobject *kobj, struct attribute *attr,
}
/**
- * blk_cleanup_queue: - release a &struct request_queue when it is no longer needed
- * @kobj: the kobj belonging of the request queue to be released
+ * blk_release_queue: - release a &struct request_queue when it is no longer needed
+ * @kobj: the kobj belonging to the request queue to be released
*
* Description:
- * blk_cleanup_queue is the pair to blk_init_queue() or
+ * blk_release_queue is the pair to blk_init_queue() or
* blk_queue_make_request(). It should be called when a request queue is
* being released; typically when a block device is being de-registered.
* Currently, its primary task it to free all the &struct request