Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: [email protected] (2.6.38 & later) Reported-by: Al Viro <[email protected]> Reviewed-by: Namjae Jeon <[email protected]> Signed-off-by: Jan Kara <[email protected]>
- Loading branch information