Whamcloud - gitweb
Make extent_goto() deterministic when logical block not found
authorEric Sandeen <sandeen@redhat.com>
Tue, 8 Apr 2008 03:00:59 +0000 (22:00 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 17 Apr 2008 21:16:39 +0000 (17:16 -0400)
commitc21ed7705be908a5697095e597849804302edd21
treecf0a014feb95ad5d32209bae763fdcf139dea0cf
parent5e057d5cad3e0f3bd9faa3c1124a3a592cb32919
Make extent_goto() deterministic when logical block not found

Make sure that extent_goto() leaves us at the last extent
prior to the requested logical block, if the logical block
requested lands in a hole.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/extent.c