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