Unionfs: support lower filesystems without writeback capability
authorErez Zadok <ezk@cs.sunysb.edu>
Fri, 16 Nov 2007 18:45:34 +0000 (13:45 -0500)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:03:14 +0000 (19:03 -0400)
commit436e2dd3fe3d57e0366d9c2b88eab47c1a7b0d85
treecfaba89ee1de136d0530b13e6b395817980efa9e
parent37db981af793a37a3ff8943b6965feebb9d7ef2a
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