From: Mark Fasheh Date: Thu, 19 Jul 2007 08:47:00 +0000 (-0700) Subject: ocfs2: release page lock before calling ->page_mkwrite X-Git-Tag: v2.6.23-rc1~473 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6967614761fd305b3414d9485d89dc2e0a407410;p=pandora-kernel.git ocfs2: release page lock before calling ->page_mkwrite __do_fault() was calling ->page_mkwrite() with the page lock held, which violates the locking rules for that callback. Release and retake the page lock around the callback to avoid deadlocking file systems which manually take it. Signed-off-by: Mark Fasheh Cc: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed