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>
Sat, 16 Aug 2014 02:28:59 +0000 (22:28 -0400)
commit5acd20afece627b3ea08c4cf491519048269c84b
tree53804a1dba308b9fd084fdffd342eb1263815ff9
parent893f5eaaa2415ec7d0fe0381ef3dec460cf37eb7
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