commit | 4651c5900e7a3c84d4b70412f8bbc40c1bcb50cf | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Thu Nov 25 03:56:24 2010 +0100 |
committer | Jan Kara <jack@suse.cz> | Thu Jan 06 17:03:57 2011 +0100 |
tree | bba6310572481952bb03079909712bf664a054fc | |
parent | 8754a3f718f08dc21b3c5eccd044f612d4bc1ab1 [diff] |
udf: Fix directory corruption after extent merging If udf_bread() called from udf_add_entry() managed to merge created extent to an already existing one (or if previous extents could be merged), the code truncating the last extent to proper size would just overwrite the freshly allocated extent with an extent that used to be in that place. This obviously results in a directory corruption. Fix the problem by properly reloading the last extent. Signed-off-by: Jan Kara <jack@suse.cz>