Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 38128
b: refs/heads/master
c: a638b2d
h: refs/heads/master
v: v3
  • Loading branch information
Paul Clements authored and Linus Torvalds committed Oct 3, 2006
1 parent 3f9b90b commit 8520749
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 14f50b49fdab8f4c9fc87b55d3631e3bf1ffd385
refs/heads/master: a638b2dc951c4cafea31b34a1db1c3d94809649e
3 changes: 1 addition & 2 deletions trunk/drivers/md/bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1444,8 +1444,7 @@ int bitmap_create(mddev_t *mddev)
if (err)
goto error;

bitmap->chunkshift = find_first_bit(&bitmap->chunksize,
sizeof(bitmap->chunksize));
bitmap->chunkshift = ffz(~bitmap->chunksize);

/* now that chunksize and chunkshift are set, we can use these macros */
chunks = (blocks + CHUNK_BLOCK_RATIO(bitmap) - 1) /
Expand Down

0 comments on commit 8520749

Please sign in to comment.