Unionfs: support lower filesystems without writeback capability
authorErez Zadok <ezk@cs.sunysb.edu>
Tue, 16 Oct 2007 14:50:16 +0000 (10:50 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 13 Jan 2009 02:31:19 +0000 (21:31 -0500)
commitd3829fa9fb504fe22cd17c0a1b90c024a7e1034e
treec7ac66a972f723583710e64d110c67ab0b450a0e
parentbf1b242c2f997fba81a7486b87707e1ae152a6dc
Unionfs: support lower filesystems without writeback capability

Implement unionfs_writepages.  As per
mm/filemap.c:__filemap_fdatawrite_range(), don't call our writepage if the
lower mapping has BDI_CAP_NO_WRITEBACK capability set.

Signed-off-by: Pekka J Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/mmap.c
fs/unionfs/union.h