aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/bcache/bset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/md/bcache/bset.c b/drivers/md/bcache/bset.c
index cb4578a327b9..1d27d3af3251 100644
--- a/drivers/md/bcache/bset.c
+++ b/drivers/md/bcache/bset.c
@@ -395,7 +395,7 @@ void inorder_test(void)
395#endif 395#endif
396 396
397/* 397/*
398 * Cacheline/offset <-> bkey pointer arithmatic: 398 * Cacheline/offset <-> bkey pointer arithmetic:
399 * 399 *
400 * t->tree is a binary search tree in an array; each node corresponds to a key 400 * t->tree is a binary search tree in an array; each node corresponds to a key
401 * in one cacheline in t->set (BSET_CACHELINE bytes). 401 * in one cacheline in t->set (BSET_CACHELINE bytes).
@@ -404,7 +404,7 @@ void inorder_test(void)
404 * the binary tree points to; to_inorder() gives us the cacheline, and then 404 * the binary tree points to; to_inorder() gives us the cacheline, and then
405 * bkey_float->m gives us the offset within that cacheline, in units of 8 bytes. 405 * bkey_float->m gives us the offset within that cacheline, in units of 8 bytes.
406 * 406 *
407 * cacheline_to_bkey() and friends abstract out all the pointer arithmatic to 407 * cacheline_to_bkey() and friends abstract out all the pointer arithmetic to
408 * make this work. 408 * make this work.
409 * 409 *
410 * To construct the bfloat for an arbitrary key we need to know what the key 410 * To construct the bfloat for an arbitrary key we need to know what the key