summaryrefslogtreecommitdiffstats
path: root/net/802
diff options
context:
space:
mode:
authorColy Li <coyli@suse.de>2008-06-30 18:45:45 +0800
committerMark Fasheh <mfasheh@suse.com>2008-07-16 16:13:04 -0700
commitc0420ad2ca514551ca086510b0e7d17a05c70492 (patch)
treed0c66f31d3ca100ad2bc0ac1dcd0e293865fd894 /net/802
parente75206517504461778c283b942440ef312e437d5 (diff)
downloadop-kernel-dev-c0420ad2ca514551ca086510b0e7d17a05c70492.zip
op-kernel-dev-c0420ad2ca514551ca086510b0e7d17a05c70492.tar.gz
[PATCH] ocfs2: fix oops in mmap_truncate testing
This patch fixes a mmap_truncate bug which was found by ocfs2 test suite. In an ocfs2 cluster more than 1 node, run program mmap_truncate, which races mmap writes and truncates from multiple processes. While the test is running, a stat from another node forces writeout, causing an oops in ocfs2_get_block() because it sees a buffer to write which isn't allocated. This patch fixed the bug by clear dirty and uptodate bits in buffer, leave the buffer unmapped and return. Fix is suggested by Mark Fasheh, and I code up the patch. Signed-off-by: Coly Li <coyli@suse.de> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'net/802')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud