[PATCH] ocfs2: Fix oops when racing files truncates with writes into an mmap region
authorSunil Mushran <sunil.mushran@oracle.com>
Thu, 17 Jul 2008 00:22:22 +0000 (17:22 -0700)
committerMark Fasheh <mfasheh@suse.com>
Thu, 31 Jul 2008 23:21:14 +0000 (16:21 -0700)
commit961cecbee6786f4b1f1b8f695e87045b583f9f49
tree350d8604d04c594463372e3fab0cab2e953c7770
parent539d8264093560b917ee3afe4c7f74e5da09d6a5
[PATCH] ocfs2: Fix oops when racing files truncates with writes into an mmap region

This patch fixes an oops that is reproduced when one races writes to a mmap-ed
region with another process truncating the file.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/aops.c