phy: rockchip-emmc: enable ctrl-base before waiting pll
[firefly-linux-kernel-4.4.55.git] / fs / sync.c
index 4ec430ae2b0daa7ed9b0814f00abae5e1c63fa8f..dd5d1711c7ac3298119316d5e77dab252f86c496 100644 (file)
--- a/fs/sync.c
+++ b/fs/sync.c
@@ -348,7 +348,8 @@ SYSCALL_DEFINE4(sync_file_range, int, fd, loff_t, offset, loff_t, nbytes,
        }
 
        if (flags & SYNC_FILE_RANGE_WRITE) {
-               ret = filemap_fdatawrite_range(mapping, offset, endbyte);
+               ret = __filemap_fdatawrite_range(mapping, offset, endbyte,
+                                                WB_SYNC_NONE);
                if (ret < 0)
                        goto out_put;
        }