diff options
| author | 2025-07-11 10:52:53 +0000 | |
|---|---|---|
| committer | 2025-07-17 06:01:16 -0600 | |
| commit | 6381061d82141909c382811978ccdd7566698bca (patch) | |
| tree | e4b11307fdd1b8cee0878c16268862996f8e00bf /include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com | |
| parent | block: fix blk_zone_append_update_request_bio() kernel-doc (diff) | |
ilog2: add max_pow_of_two_factor()
Relocate the function max_pow_of_two_factor() to common ilog2.h from the
xfs code, as it will be used elsewhere.
Also simplify the function, as advised by Mikulas Patocka.
Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20250711105258.3135198-2-john.g.garry@oracle.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/uapi/linux/byteorder/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
