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>
Thu, 6 Aug 2009 19:37:39 +0000 (15:37 -0400)
commitc39932777a6f9c6ea435de2afeb22b872a840392
tree03c1e283060d7b161b069f8aa973f62413a21108
parenta3eb55daca3326e17fb02f3d9f19f6142e23fb69
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