Unionfs: prevent multiple writers to lower_page
authorErez Zadok <ezk@cs.sunysb.edu>
Sun, 25 Nov 2007 19:51:56 +0000 (14:51 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Wed, 20 May 2009 20:59:35 +0000 (16:59 -0400)
commit0ec9e8d86f1104900a204b58fe4d436934fde06a
tree81ffa7da7224c50c6900ed45df56255c55dbc2d0
parente0f688701874b0e916900e1c78a7cf3d15d6547e
Unionfs: prevent multiple writers to lower_page

Without this patch, the LTP fs test "rwtest04" triggers a
BUG_ON(PageWriteback(page)) in fs/buffer.c:1706.

CC: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/mmap.c