back-port: struct writeback_control has no fs_private field
authorErez_Zadok <ezk@cs.sunysb.edu>
Fri, 29 Jun 2007 03:01:03 +0000 (23:01 -0400)
committerErez_Zadok <ezk@cs.sunysb.edu>
Tue, 21 Aug 2007 22:39:28 +0000 (18:39 -0400)
Back-port Unionfs from 2.6.22-rc5 to 2.6.21.5.  In .21, struct
writeback_control did not have an fs_private field.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/mmap.c

index 7b4a6f56994a984435790e1ee6a846550b8347cb..2abdc871d2c80f57b9dd45e9cb2a5ff278d81008 100644 (file)
@@ -81,7 +81,7 @@ int unionfs_writepage(struct page *page, struct writeback_control *wbc)
        BUG_ON(!lower_inode->i_mapping->a_ops->writepage);
 
        /* workaround for some lower file systems: see big comment on top */
-       if (wbc->for_writepages && !wbc->fs_private)
+       if (wbc->for_writepages /* && !wbc->fs_private */)
                wbc->for_writepages = 0;
 
        /* call lower writepage (expects locked page) */