]> Pileus Git - ~andy/linux/blobdiff - fs/xfs/xfs_iomap.c
xfs: use xfs_sync_inodes() for device flushing
[~andy/linux] / fs / xfs / xfs_iomap.c
index 08ce72316bfebee19ef8387b123760439da2636f..8b97d82d7a883d0f1e942705e35fa3a82063acb6 100644 (file)
@@ -361,7 +361,7 @@ xfs_flush_space(
                return 0;
        case 2:
                xfs_iunlock(ip, XFS_ILOCK_EXCL);
-               xfs_flush_device(ip);
+               xfs_flush_inodes(ip);
                xfs_ilock(ip, XFS_ILOCK_EXCL);
                *fsynced = 3;
                return 0;