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>
Sun, 6 Mar 2011 08:42:59 +0000 (03:42 -0500)
commit5bd01559ad6871563d5ed62c38468ad72a551326
treef83b24a78c7e098c57919d972ecbd3e0f8dc46ae
parent42da2442cb24c4a04e0b11d51e95700f32d7a8de
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