kernel_optimize_test/fs/udf
Jan Kara 4651c5900e 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>
2011-01-06 17:03:57 +01:00
..
balloc.c udf: Call udf_add_free_space() for more blocks at once in udf_free_blocks() 2011-01-06 17:03:56 +01:00
dir.c udf: Remove unnecessary bkl usages 2011-01-06 17:03:57 +01:00
directory.c udf: Remove dead code 2009-09-14 19:13:00 +02:00
ecma_167.h Remove struct typedefs from fs/udf/ecma_167.h et al. 2009-04-02 12:29:47 +02:00
file.c udf: Protect udf_file_aio_write from possible races 2011-01-06 17:03:57 +01:00
ialloc.c udf: Move handling of uniqueID into a helper function and protect it by a s_alloc_mutex 2011-01-06 17:03:55 +01:00
inode.c udf: Remove unnecessary bkl usages 2011-01-06 17:03:57 +01:00
Kconfig BKL: introduce CONFIG_BKL. 2010-10-21 15:44:13 +02:00
lowlevel.c udf: Remove dead code 2009-09-14 19:13:00 +02:00
Makefile switch udf to simple_fsync() 2009-06-11 21:36:13 -04:00
misc.c Fix the udf code not to pass structs on stack where possible. 2009-04-02 12:29:47 +02:00
namei.c udf: Fix directory corruption after extent merging 2011-01-06 17:03:57 +01:00
osta_udf.h Remove struct typedefs from fs/udf/ecma_167.h et al. 2009-04-02 12:29:47 +02:00
partition.c udf: Use of s_alloc_mutex to serialize udf_relocate_blocks() execution 2011-01-06 17:03:56 +01:00
super.c udf: Remove unnecessary bkl usages 2011-01-06 17:03:57 +01:00
symlink.c udf: Replace bkl with the UDF_I(inode)->i_data_sem for protect udf_inode_info struct 2011-01-06 17:03:56 +01:00
truncate.c Fix the udf code not to pass structs on stack where possible. 2009-04-02 12:29:47 +02:00
udf_i.h udf: Replace bkl with the UDF_I(inode)->i_data_sem for protect udf_inode_info struct 2011-01-06 17:03:56 +01:00
udf_sb.h udf: Protect default inode credentials by rwlock 2011-01-06 17:03:55 +01:00
udfdecl.h udf: Move handling of uniqueID into a helper function and protect it by a s_alloc_mutex 2011-01-06 17:03:55 +01:00
udfend.h Remove struct typedefs from fs/udf/ecma_167.h et al. 2009-04-02 12:29:47 +02:00
udftime.c Remove struct typedefs from fs/udf/ecma_167.h et al. 2009-04-02 12:29:47 +02:00
unicode.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00