commit | 6225a154d2616edcd13885797ed5e1c0cc51e0b7 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Thu Feb 06 15:32:18 2014 -0500 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Feb 06 15:32:20 2014 -0500 |
tree | 16f328d6ae6b0dc4499d95efb999cafdf6f2ccc2 | |
parent | 3c890ee96ebc3f4ca05668e272531b46118d4cc4 [diff] |
libext2fs: don't hang on to unmapped block if extent tree update fails If we're doing a BMAP_ALLOC allocation and the extent tree update fails, there's no point in hanging on to the newly allocated block. So, free it to make fsck happy. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Zheng Liu <wenqing.lz@taobao.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>