Skip to content

Bit helpers cleanup

David Sterba linux-btrfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: add 64bit safe helper for power of two checksfs/btrfs/misc.h+11 -00 replies
2/2btrfs: use has_single_bit_set for clarityfs/btrfs/tree-checker.c fs/btrfs/volumes.c+9 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Bit helpers cleanup

Depends on patch "btrfs: fix balance convert to single on 32-bit host CPUs" that's now in misc-next and cleans up the helpers as discussed at

https://lore.kernel.org/linux-btrfs/[email protected]/

David Sterba (2):
btrfs: add 64bit safe helper for power of two checks
btrfs: use has_single_bit_set for clarity

 fs/btrfs/misc.h         | 11 +++++++++++
 fs/btrfs/tree-checker.c | 14 +++++++-------
 fs/btrfs/volumes.c      |  7 +------
 3 files changed, 19 insertions(+), 13 deletions(-)
Signature · 1 line
2.23.0