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>
Sun, 24 Nov 2013 05:50:48 +0000 (00:50 -0500)
commitee7780de75566bf49b6fe7bf41bfe1de7e8c3536
tree299c077dda9b26ae48ca5c54e46124d2669657c4
parentd29acace8a4e79b9fedbe7fee1316b317c88bb85
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