Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14626
b: refs/heads/master
c: 0e56822
h: refs/heads/master
v: v3
  • Loading branch information
Alasdair G Kergon authored and Linus Torvalds committed Nov 22, 2005
1 parent d612b35 commit 9835a24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c4cc66351a24da5feec298be2da59a85f68dd3ea
refs/heads/master: 0e56822d30184d0da35a6ecc51f38c4ceb457a80
4 changes: 2 additions & 2 deletions trunk/drivers/md/dm-log.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,10 @@ static int core_ctr(struct dirty_log *log, struct dm_target *ti,
lc->sync = sync;

/*
* Work out how many words we need to hold the bitset.
* Work out how many "unsigned long"s we need to hold the bitset.
*/
bitset_size = dm_round_up(region_count,
sizeof(*lc->clean_bits) << BYTE_SHIFT);
sizeof(unsigned long) << BYTE_SHIFT);
bitset_size >>= BYTE_SHIFT;

lc->bitset_uint32_count = bitset_size / 4;
Expand Down

0 comments on commit 9835a24

Please sign in to comment.