aboutsummaryrefslogtreecommitdiff
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2012-02-20 17:49:56 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-02 09:53:04 -0700
commit712f04ff3aea5f7cc284df68f93b1eacb5cb0fa2 (patch)
treebca0c6fab9d87a47488acee0e20246ee361a7062 /lib/timerqueue.c
parent83e41946441048f5d30f2022dda519b4b58c9ad8 (diff)
udf: Fix deadlock in udf_release_file()
commit a0391a3ae91d301c0e59368531a4de5f0b122bcf 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>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions