Skip to content
Commit 16dbc6c9 authored by Nick Piggin's avatar Nick Piggin Committed by Linus Torvalds
Browse files

inotify: fix lock ordering wrt do_page_fault's mmap_sem



Fix inotify lock order reversal with mmap_sem due to holding locks over
copy_to_user.

Signed-off-by: default avatarNick Piggin <npiggin@suse.de>
Reported-by: default avatar"Daniel J Blueman" <daniel.blueman@gmail.com>
Tested-by: default avatar"Daniel J Blueman" <daniel.blueman@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 08650869
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment