diff options
author | Mark Fasheh <mark.fasheh@oracle.com> | 2007-07-19 01:47:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 10:04:41 -0700 |
commit | 6967614761fd305b3414d9485d89dc2e0a407410 (patch) | |
tree | 498bd41e9cf8795535f597696dd2c834d79ffb44 /ipc/shm.c | |
parent | 54cb8821de07f2ffcd28c380ce9b93d5784b40d7 (diff) |
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 <mark.fasheh@oracle.com>
Cc: Nick Piggin <nickpiggin@yahoo.com.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions