Whamcloud - gitweb
libext2fs: optimize rb_get_bmap_range()
authorTheodore Ts'o <tytso@mit.edu>
Sat, 24 Nov 2012 23:35:42 +0000 (18:35 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 29 Nov 2012 00:01:51 +0000 (19:01 -0500)
commitc3f9641eaf959b4222aa145477e6f0f8811244d8
tree5672384a57e2427af44ce98181d96c47363504a9
parentc6b006ea6c9fec7f3f33347a52efc396063bcd26
libext2fs: optimize rb_get_bmap_range()

This simplifies the rb_get_bmap_range() function and speeds it up for
the case where most of the bitmap is zero.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
lib/ext2fs/blkmap64_rb.c