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>
Tue, 13 Jan 2009 01:43:27 +0000 (20:43 -0500)
commit505e7c316459398ec08aea98173496b660023e79
tree0b726e607e24787464822f132814945eb72232ae
parentda0eabc3c1e579f029f9c3f7b6e6000a7327e738
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