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>
Thu, 16 Jun 2011 22:44:07 +0000 (15:44 -0700)
commit9dd1beb6dbf158597ee365eb002f243552c3dbff
tree15ec58bd20ed8434c09fae2dd86dee2b3460d6e5
parent457f801463b512827f926e4d0b07687cbebc8b76
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