aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
Diffstat (limited to 'block')
-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 0ee17b5e7fb6..adc923e9d1f8 100644
--- a/block/blk-sysfs.c
+++ b/block/blk-sysfs.c
@@ -455,11 +455,11 @@ queue_attr_store(struct kobject *kobj, struct attribute *attr,
455} 455}
456 456
457/** 457/**
458 * blk_cleanup_queue: - release a &struct request_queue when it is no longer needed 458 * blk_release_queue: - release a &struct request_queue when it is no longer needed
459 * @kobj: the kobj belonging of the request queue to be released 459 * @kobj: the kobj belonging to the request queue to be released
460 * 460 *
461 * Description: 461 * Description:
462 * blk_cleanup_queue is the pair to blk_init_queue() or 462 * blk_release_queue is the pair to blk_init_queue() or
463 * blk_queue_make_request(). It should be called when a request queue is 463 * blk_queue_make_request(). It should be called when a request queue is
464 * being released; typically when a block device is being de-registered. 464 * being released; typically when a block device is being de-registered.
465 * Currently, its primary task it to free all the &struct request 465 * Currently, its primary task it to free all the &struct request