aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/libxfs/xfs_ialloc_btree.c
diff options
context:
space:
mode:
authorJia He <[email protected]>2016-01-04 05:10:19 +0000
committerDave Chinner <[email protected]>2016-01-04 05:10:19 +0000
commit1d4292bfdc77f4f7c520064be15d0c46bd025fd2 (patch)
tree0caa65a6a56e13d269503b38c211aafaef6cad0b /fs/xfs/libxfs/xfs_ialloc_btree.c
parentLinux 4.4-rc8 (diff)
downloadkernel-1d4292bfdc77f4f7c520064be15d0c46bd025fd2.tar.gz
kernel-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 <[email protected]> Reviewed-by: Brian Foster <[email protected]> Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc_btree.c')
0 files changed, 0 insertions, 0 deletions