From: Jan Kara Date: Tue, 16 Nov 2010 13:33:48 +0000 (+0100) Subject: udf: Protect udf_file_aio_write from possible races X-Git-Tag: v2.6.38-rc1~408^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8754a3f718f08dc21b3c5eccd044f612d4bc1ab1;p=pandora-kernel.git udf: Protect udf_file_aio_write from possible races Code doing conversion from INICB file to a normal file in udf_file_aio_write() is not protected by any lock from other code modifying the inode. Use i_alloc_sem for that. Reported-by: Alessio Igor Bogani Signed-off-by: Jan Kara --- Reading git-diff-tree failed