Unionfs: prevent multiple writers to lower_page
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 27 Nov 2007 00:53:42 +0000 (19:53 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 27 Nov 2007 00:53:42 +0000 (19:53 -0500)
commitac6726c02ea4b685256a8bff65bfb930f6cfa431
tree3bb6cd1e67f5bc6beeda6a7a62c50eb360698f50
parente39712a9de06b78dc10d5ec6a978cd15e799d3c4
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