Files
linux/fs/udf
Jan Kara bc9d8a3ba0 udf: Fix deadlock in udf_release_file()
commit a0391a3ae9 upstream.

udf_release_file() can be called from munmap() path with mmap_sem held.  Thus
we cannot take i_mutex there because that ranks above mmap_sem. Luckily,
i_mutex is not needed in udf_release_file() anymore since protection by
i_data_sem is enough to protect from races with write and truncate.

Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Reviewed-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-02 09:27:19 -07:00
..
2011-03-23 19:46:19 -07:00
2011-01-06 17:03:57 +01:00
2009-09-14 19:13:00 +02:00
2012-04-02 09:27:19 -07:00
2009-09-14 19:13:00 +02:00
2009-06-11 21:36:13 -04:00