summaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_bit.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libxfs: Optimize the loop for xfs_bitmap_emptyJia He2016-01-041-3/+3
| | | | | | | | | | | If there is any non zero bit in a long bitmap, it can jump out of the loop and finish the function as soon as possible. Signed-off-by: Jia He <hejianet@gmail.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
* libxfs: add xfs_bit.cDave Chinner2015-07-291-0/+118
The header side of xfs_bit.c is already in libxfs, and the sparse inode code requires the xfs_next_bit() function so pull in the xfs_bit.c file so that a sparse inode enabled libxfs compiles cleanly in userspace. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>