From: Nick Piggin Date: Thu, 2 Oct 2008 21:50:12 +0000 (-0700) Subject: inotify: fix lock ordering wrt do_page_fault's mmap_sem X-Git-Tag: v2.6.27-rc9~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16dbc6c9616363fe53811abcbd935336dc0a0f01;p=pandora-kernel.git 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: Nick Piggin Reported-by: "Daniel J Blueman" Tested-by: "Daniel J Blueman" Cc: Ingo Molnar Cc: Peter Zijlstra Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed