summaryrefslogtreecommitdiffstats
path: root/Documentation/telephony
diff options
context:
space:
mode:
authorNick Piggin <nickpiggin@yahoo.com.au>2005-05-05 16:15:45 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-05 16:36:40 -0700
commitf3ddbdc6267c32223035ea9bb8456a2d86f65ba1 (patch)
treebc11ca9a8bc1f1ebdc70e59bb28e8e328346f7bb /Documentation/telephony
parent3c8fad1829cc33e903500b41d989fa50ab196378 (diff)
downloadblackbird-op-linux-f3ddbdc6267c32223035ea9bb8456a2d86f65ba1.tar.gz
blackbird-op-linux-f3ddbdc6267c32223035ea9bb8456a2d86f65ba1.zip
[PATCH] fix race in __block_prepare_write
Fix a race where __block_prepare_write can leak out an in-flight read against a bh if get_block returns an error. This can lead to the page becoming unlocked while the buffer is locked and the read still in flight. __mpage_writepage BUGs on this condition. BUG sighted on a 2-way Itanium2 system with 16K PAGE_SIZE running fsstress -v -d $DIR/tmp -n 1000 -p 1000 -l 2 where $DIR is a new ext2 filesystem with 4K blocks that is quite small (causing get_block to fail often with -ENOSPC). Signed-off-by: Nick Piggin <nickpiggin@yahoo.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/telephony')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud