commit | 8754a3f718f08dc21b3c5eccd044f612d4bc1ab1 | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Tue Nov 16 14:33:48 2010 +0100 |
committer | Jan Kara <jack@suse.cz> | Thu Jan 06 17:03:57 2011 +0100 |
tree | 40d2b8af8e64f9041f19e8d93df0ab81e6b8054e | |
parent | 9db9f9e31d7661dff35a75ed01ff9fc0d6acdaf8 [diff] |
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 <abogani@texware.it> Signed-off-by: Jan Kara <jack@suse.cz>