diff options
author | Jia He | 2016-01-04 06:10:19 +0100 |
---|---|---|
committer | Dave Chinner | 2016-01-04 06:10:19 +0100 |
commit | 1d4292bfdc77f4f7c520064be15d0c46bd025fd2 (patch) | |
tree | 0caa65a6a56e13d269503b38c211aafaef6cad0b /fs/xfs/xfs_buf.h | |
parent | Linux 4.4-rc8 (diff) | |
download | kernel-qcow2-linux-1d4292bfdc77f4f7c520064be15d0c46bd025fd2.tar.gz kernel-qcow2-linux-1d4292bfdc77f4f7c520064be15d0c46bd025fd2.tar.xz kernel-qcow2-linux-1d4292bfdc77f4f7c520064be15d0c46bd025fd2.zip |
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>
Diffstat (limited to 'fs/xfs/xfs_buf.h')
0 files changed, 0 insertions, 0 deletions