]> git.neil.brown.name Git - history.git/commitdiff
JFS: fix up more merge issues
authorChristoph Hellwig <hch@sb.bsdonline.org>
Tue, 3 Sep 2002 20:14:43 +0000 (22:14 +0200)
committerChristoph Hellwig <hch@sb.bsdonline.org>
Tue, 3 Sep 2002 20:14:43 +0000 (22:14 +0200)
The BK merging was a little too smart for the conflicting changes.
Add back what we lost with the last changeset.

fs/jfs/jfs_umount.c

index 3f9d89a274cd875ecb232845cc9287fa15033b54..014b9b4296f0dd2dac2d93f54329c9175616f355 100644 (file)
@@ -113,8 +113,8 @@ int jfs_umount(struct super_block *sb)
         * 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
@@ -168,6 +168,7 @@ int jfs_umount_rw(struct super_block *sb)
         * disk.
         */
        filemap_fdatawrite(bdev_mapping);
+       filemap_fdatawait(bdev_mapping);
 
        updateSuper(sb, FM_CLEAN);
        sbi->log = NULL;