commit | 1d4292bfdc77f4f7c520064be15d0c46bd025fd2 | [log] [tgz] |
---|---|---|
author | Jia He <hejianet@gmail.com> | Mon Jan 04 16:10:19 2016 +1100 |
committer | Dave Chinner <david@fromorbit.com> | Mon Jan 04 16:10:19 2016 +1100 |
tree | 0caa65a6a56e13d269503b38c211aafaef6cad0b | |
parent | 168309855a7d1e16db751e9c647119fe2d2dc878 [diff] |
libxfs: Optimize the loop for xfs_bitmap_empty 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>