OSDN Git Service

ext2fs_extent_set_bmap(): fix bug when replacing a single block extent
authorTheodore Ts'o <tytso@mit.edu>
Fri, 22 Aug 2008 06:39:46 +0000 (02:39 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 22 Aug 2008 06:43:59 +0000 (02:43 -0400)
commit2047e0a1eec1d128523e116f38b279f9cb8fe06b
treec23d90c518729a8d02fdee4e6c9c84502adc798a
parenta9ea7285e6d97fba4fa4af059db73f0413acfcab
ext2fs_extent_set_bmap(): fix bug when replacing a single block extent

When replacing a single block extent, make sure we set or clear the
uninitialized extent flag as requested by the caller.

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