]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: fix a comments typo in bch_alloc_sectors()
authorColy Li <colyli@suse.de>
Fri, 13 Oct 2017 23:35:30 +0000 (16:35 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 16 Oct 2017 15:07:26 +0000 (09:07 -0600)
commitdd0bedc0f9919c3452ce25cf7034f133b2faadaa
treef8c86b34dacb7591faeed28cba4042eb2c3cc35d
parent8c353d124fe418fb6aaa5332757dcf9bae9318a5
bcache: fix a comments typo in bch_alloc_sectors()

Code comments in alloc.c:bch_alloc_sectors() mentions a function
name find_data_bucket(), the correct function name should be
pick_data_bucket() indeed. bch_alloc_sectors() is a quite important
function in bcache allocation code, fixing the typo may help
other people to have less confusion.

Signed-off-by: Coly Li <colyli@suse.de>
Reviewed-by: Tang Junhui <tang.junhui@zte.com.cn>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/alloc.c