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>
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) */