summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/inode.c
diff options
context:
space:
mode:
authorJia He <hejianet@gmail.com>2016-01-04 16:10:19 +1100
committerDave Chinner <david@fromorbit.com>2016-01-04 16:10:19 +1100
commit1d4292bfdc77f4f7c520064be15d0c46bd025fd2 (patch)
tree0caa65a6a56e13d269503b38c211aafaef6cad0b /fs/f2fs/inode.c
parent168309855a7d1e16db751e9c647119fe2d2dc878 (diff)
downloadlinux-1d4292bfdc77f4f7c520064be15d0c46bd025fd2.tar.gz
linux-1d4292bfdc77f4f7c520064be15d0c46bd025fd2.tar.bz2
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/f2fs/inode.c')
0 files changed, 0 insertions, 0 deletions