WSL2-Linux-Kernel/fs/udf
Alessio Igor Bogani 4d0fb621d3 udf: Replace bkl with the UDF_I(inode)->i_data_sem for protect udf_inode_info struct
Replace bkl with the UDF_I(inode)->i_data_sem rw semaphore in
udf_release_file(), udf_symlink(), udf_symlink_filler(), udf_get_block(),
udf_block_map(), and udf_setattr(). The rule now is that any operation
on regular file's or symlink's extents (or generally allocation information
including goal block) needs to hold i_data_sem.

This work was supported by a hardware donation from the CE Linux Forum.

Signed-off-by: Alessio Igor Bogani <abogani@texware.it>
Signed-off-by: Jan Kara <jack@suse.cz>
2011-01-06 17:03:56 +01:00
..
Kconfig BKL: introduce CONFIG_BKL. 2010-10-21 15:44:13 +02:00
Makefile switch udf to simple_fsync() 2009-06-11 21:36:13 -04: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 rename the generic fsync implementations 2010-05-27 22:06:06 -04: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: Replace bkl with the UDF_I(inode)->i_data_sem for protect udf_inode_info struct 2011-01-06 17:03:56 +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: Replace bkl with the UDF_I(inode)->i_data_sem for protect udf_inode_info struct 2011-01-06 17:03:56 +01:00
lowlevel.c udf: Remove dead code 2009-09-14 19:13:00 +02: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: Replace bkl with the UDF_I(inode)->i_data_sem for protect udf_inode_info struct 2011-01-06 17:03:56 +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 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
super.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
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