On Thu, Feb 01, 2024 at 01:22:04PM +0100, Alexander Lobakin wrote: > bitmap_size() is a pretty generic name and one may want to use it for > a generic bitmap API function. At the same time, its logic is > NTFS-specific, as it aligns to the sizeof(u64), not the sizeof(long) > (although it uses ideologically right ALIGN() instead of division). > Add the prefix 'ntfs3_' used for that FS (not just 'ntfs_' to not mix > it with the legacy module) and use generic BITS_TO_U64() while at it. > > Suggested-by: Yury Norov <yury.norov@xxxxxxxxx> # BITS_TO_U64() > Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@xxxxxxxxx> > Signed-off-by: Alexander Lobakin <aleksander.lobakin@xxxxxxxxx> Reviewed-by: Yury Norov <yury.norov@xxxxxxxxx>