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>
Mon, 12 Jan 2009 23:20:46 +0000 (18:20 -0500)
commitd093f6fc299f9b57d9bfc225b327ccb094ad9e24
tree6c8c0403c08c8c2933c558df05b6799886a168dc
parente374c0543057416b266748c729459b3db1305d39
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