]> Gentwo Git Trees - linux/.git/commit
btrfs: replace const_ilog2() with ilog2()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 31 Oct 2025 07:55:09 +0000 (08:55 +0100)
committerDavid Sterba <dsterba@suse.com>
Mon, 24 Nov 2025 21:34:52 +0000 (22:34 +0100)
commitc913649c1b0260a8a992773aa6a49189059f65a5
tree8919c80f0aa6bf56ecc0ce48a5d7793d0d9e75c7
parent51070655e7d5749f9515e7a6ca1d5f49d1a76d81
btrfs: replace const_ilog2() with ilog2()

const_ilog2() was a workaround of some sparse issue, which has never
appeared in the C functions. Replace it with ilog2().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.h
fs/btrfs/zoned.c