Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dm cache: fix typos in comments

Fix up some typos in dm-cache comments.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>

authored by

Joe Thornber and committed by
Alasdair G Kergon
aeed1420 e12c1fd9

+4 -3
+4 -3
drivers/md/dm-cache-target.c
··· 205 205 /* 206 206 * writethrough fields. These MUST remain at the end of this 207 207 * structure and the 'cache' member must be the first as it 208 - * is used to determine the offsetof the writethrough fields. 208 + * is used to determine the offset of the writethrough fields. 209 209 */ 210 210 struct cache *cache; 211 211 dm_cblock_t cblock; ··· 393 393 return r; 394 394 } 395 395 396 - /*----------------------------------------------------------------*/ 396 + /*----------------------------------------------------------------*/ 397 397 398 398 static bool is_dirty(struct cache *cache, dm_cblock_t b) 399 399 { ··· 419 419 } 420 420 421 421 /*----------------------------------------------------------------*/ 422 + 422 423 static bool block_size_is_power_of_two(struct cache *cache) 423 424 { 424 425 return cache->sectors_per_block_shift >= 0; ··· 668 667 669 668 /* 670 669 * We can't issue this bio directly, since we're in interrupt 671 - * context. So it get's put on a bio list for processing by the 670 + * context. So it gets put on a bio list for processing by the 672 671 * worker thread. 673 672 */ 674 673 defer_writethrough_bio(pb->cache, bio);