Unionfs: prevent multiple writers to lower_page
authorErez Zadok <ezk@cs.sunysb.edu>
Sun, 25 Nov 2007 23:32:31 +0000 (18:32 -0500)
committerErez Zadok <ezk@cs.sunysb.edu>
Sun, 25 Nov 2007 23:32:31 +0000 (18:32 -0500)
commitb7d0293edc152526ae5689a39069ebec6d186fab
treea3cdbb394144bc3eb99426a175f8132add488b83
parent2ab4992be86b56d602628a3065b5a679cde02327
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