summaryrefslogtreecommitdiffstats
path: root/fs/ext3
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2012-02-20 17:49:56 +0100
committerJan Kara <jack@suse.cz>2012-02-29 21:53:48 +0100
commita0391a3ae91d301c0e59368531a4de5f0b122bcf (patch)
tree26425274ff44d43a1a369bf91c7cc5a78756b30d /fs/ext3
parentb2527bfa535956d99663718b9d9aac0b8fe3f017 (diff)
downloadop-kernel-dev-a0391a3ae91d301c0e59368531a4de5f0b122bcf.zip
op-kernel-dev-a0391a3ae91d301c0e59368531a4de5f0b122bcf.tar.gz
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>
Diffstat (limited to 'fs/ext3')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud