xfs: replace open-coded bitmap weight logic
Add a xbitmap_hweight helper function so that we can get rid of the open-coded loop. Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com> Reviewed-by: NBrian Foster <bfoster@redhat.com>
Showing
想要评论请 注册 或 登录