The BK merging was a little too smart for the conflicting changes.
Add back what we lost with the last changeset.
* Make sure all metadata makes it to disk before we mark
* the superblock as clean
*/
- filemap_fdatawrite(sbi->direct_inode->i_mapping);
- filemap_fdatawait(sbi->direct_inode->i_mapping);
+ filemap_fdatawrite(bdev_mapping);
+ filemap_fdatawait(bdev_mapping);
/*
* ensure all file system file pages are propagated to their
* disk.
*/
filemap_fdatawrite(bdev_mapping);
+ filemap_fdatawait(bdev_mapping);
updateSuper(sb, FM_CLEAN);
sbi->log = NULL;