From: Alessio Igor Bogani Date: Tue, 16 Nov 2010 17:40:47 +0000 (+0100) Subject: udf: Replace bkl with the UDF_I(inode)->i_data_sem for protect udf_inode_info struct X-Git-Tag: v2.6.38-rc1~408^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d0fb621d35007c19a396f2bb629e5aeaacef2d0;p=pandora-kernel.git 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 Signed-off-by: Jan Kara --- Reading git-diff-tree failed