Skip to content

Commit 499337b

Browse files
akpm00axboe
authored andcommitted
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>
1 parent 75df713 commit 499337b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

block/blk-sysfs.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -455,11 +455,11 @@ queue_attr_store(struct kobject *kobj, struct attribute *attr,
455455
}
456456

457457
/**
458-
* blk_cleanup_queue: - release a &struct request_queue when it is no longer needed
459-
* @kobj: the kobj belonging of the request queue to be released
458+
* blk_release_queue: - release a &struct request_queue when it is no longer needed
459+
* @kobj: the kobj belonging to the request queue to be released
460460
*
461461
* 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
463463
* blk_queue_make_request(). It should be called when a request queue is
464464
* being released; typically when a block device is being de-registered.
465465
* Currently, its primary task it to free all the &struct request

0 commit comments

Comments
 (0)