Jan Kara a0391a3ae9 udf: Fix deadlock in udf_release_file()
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.

CC: stable@vger.kernel.org (2.6.38 & later)
Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Reviewed-by: Namjae Jeon <linkinjeon@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
2012-02-29 21:53:48 +01:00
..
2012-02-29 21:53:47 +01:00
2011-01-06 17:03:57 +01:00
2011-10-31 23:43:58 +01:00
2012-02-29 21:53:48 +01:00
2011-10-31 23:43:58 +01:00
2009-06-11 21:36:13 -04:00
2011-10-10 19:29:01 +02:00
2012-01-03 22:54:54 -05:00
2012-02-29 21:53:46 +01:00
2011-10-31 23:43:52 +01:00
2012-01-03 22:55:08 -05:00
2012-01-03 22:55:08 -05:00
2011-10-31 23:43:52 +01:00
2011-10-31 23:43:52 +01:00