All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Bit helpers cleanup
@ 2019-10-01 17:52 David Sterba
  2019-10-01 17:52 ` [PATCH 1/2] btrfs: add 64bit safe helper for power of two checks David Sterba
  2019-10-01 17:52 ` [PATCH 2/2] btrfs: use has_single_bit_set for clarity David Sterba
  0 siblings, 2 replies; 3+ messages in thread
From: David Sterba @ 2019-10-01 17:52 UTC (permalink / raw)
  To: linux-btrfs; +Cc: David Sterba

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/20190912235507.3DE794232AF@james.kirk.hungrycats.org/

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(-)

-- 
2.23.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-01 17:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-01 17:52 [PATCH 0/2] Bit helpers cleanup David Sterba
2019-10-01 17:52 ` [PATCH 1/2] btrfs: add 64bit safe helper for power of two checks David Sterba
2019-10-01 17:52 ` [PATCH 2/2] btrfs: use has_single_bit_set for clarity David Sterba

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.