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>
This commit is contained in:
committed by
Alasdair G Kergon
parent
e12c1fd9d6
commit
aeed1420a3
@@ -419,6 +419,7 @@ static void clear_dirty(struct cache *cache, dm_oblock_t oblock, dm_cblock_t cbl
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*----------------------------------------------------------------*/
|
/*----------------------------------------------------------------*/
|
||||||
|
|
||||||
static bool block_size_is_power_of_two(struct cache *cache)
|
static bool block_size_is_power_of_two(struct cache *cache)
|
||||||
{
|
{
|
||||||
return cache->sectors_per_block_shift >= 0;
|
return cache->sectors_per_block_shift >= 0;
|
||||||
@@ -667,7 +668,7 @@ static void writethrough_endio(struct bio *bio, int err)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* We can't issue this bio directly, since we're in interrupt
|
* We can't issue this bio directly, since we're in interrupt
|
||||||
* context. So it get's put on a bio list for processing by the
|
* context. So it gets put on a bio list for processing by the
|
||||||
* worker thread.
|
* worker thread.
|
||||||
*/
|
*/
|
||||||
defer_writethrough_bio(pb->cache, bio);
|
defer_writethrough_bio(pb->cache, bio);
|
||||||
|
Reference in New Issue
Block a user