Skip to content

Commit

Permalink
mdadm/bitmap:fixed typos in comments of bitmap.h
Browse files Browse the repository at this point in the history
bitmap.h: fixed trivial typos in comments

Signed-off-by: Zhilong Liu <[email protected]>
Signed-off-by: Jes Sorensen <[email protected]>
  • Loading branch information
Zhilong Liu authored and Jes Sorensen committed Mar 28, 2017
1 parent e23c266 commit 4c829c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bitmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
*
* The counter counts pending write requests, plus the on-disk bit.
* When the counter is '1' and the resync bits are clear, the on-disk
* bit can be cleared aswell, thus setting the counter to 0.
* bit can be cleared as well, thus setting the counter to 0.
* When we set a bit, or in the counter (to start a write), if the fields is
* 0, we first set the disk bit and set the counter to 1.
*
Expand Down Expand Up @@ -185,7 +185,7 @@ struct bitmap_page {
*/
char *map;
/*
* in emergencies (when map cannot be alloced), hijack the map
* in emergencies (when map cannot be allocated), hijack the map
* pointer and use it as two counters itself
*/
unsigned int hijacked;
Expand Down

0 comments on commit 4c829c2

Please sign in to comment.