Whamcloud - gitweb
libext2fs: Fix fencepost error in ext2fs_extent_insert()
authorTheodore Ts'o <tytso@mit.edu>
Fri, 14 Mar 2008 14:42:50 +0000 (10:42 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 14 Mar 2008 14:42:50 +0000 (10:42 -0400)
commit252b7363690e71bfd01517d6b348a5996d98ac7f
treed1b4eaf2977fb124633dd1e04824d68b85da5d1e
parent83d9be1d5daf170066dd0e74afdd8e7063c1855e
libext2fs: Fix fencepost error in ext2fs_extent_insert()

ext2fs_extent_insert() was copying n-1 of the existing extents when
moving things down to make room for the new extent.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/extent.c