aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorColy Li <colyli@suse.de>2018-08-09 15:48:47 +0800
committerJens Axboe <axboe@kernel.dk>2018-08-09 08:21:10 -0600
commit0cba2e71111e4bd156e67086de3484c7b907a4fc (patch)
tree435f2bff7d1d62c76dd78345c9b8fe0811471773 /drivers/md
parentbcache: fix mistaken code comments in bcache.h (diff)
downloadlinux-dev-0cba2e71111e4bd156e67086de3484c7b907a4fc.tar.xz
linux-dev-0cba2e71111e4bd156e67086de3484c7b907a4fc.zip
bcache: fix mistaken comments in request.c
This patch updates code comment in bch_keylist_realloc() by fixing incorrected function names, to make the code to be more comprehennsible. Signed-off-by: Coly Li <colyli@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/bcache/request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/request.c b/drivers/md/bcache/request.c
index 43af905920f5..914d501ad1e0 100644
--- a/drivers/md/bcache/request.c
+++ b/drivers/md/bcache/request.c
@@ -107,7 +107,7 @@ static int bch_keylist_realloc(struct keylist *l, unsigned u64s,
/*
* The journalling code doesn't handle the case where the keys to insert
* is bigger than an empty write: If we just return -ENOMEM here,
- * bio_insert() and bio_invalidate() will insert the keys created so far
+ * bch_data_insert_keys() will insert the keys created so far
* and finish the rest when the keylist is empty.
*/
if (newsize * sizeof(uint64_t) > block_bytes(c) - sizeof(struct jset))