vfs: Rename fsync_super() to sync_filesystem() (version 4)
[firefly-linux-kernel-4.4.55.git] / fs / cachefiles / interface.c
index 1e962348d1114267f85895c7b60870754692ac76..dafd484d7bdac3610f5983c4d86d1bc8bc1cdd66 100644 (file)
@@ -354,7 +354,7 @@ static void cachefiles_sync_cache(struct fscache_cache *_cache)
        /* make sure all pages pinned by operations on behalf of the netfs are
         * written to disc */
        cachefiles_begin_secure(cache, &saved_cred);
-       ret = fsync_super(cache->mnt->mnt_sb);
+       ret = sync_filesystem(cache->mnt->mnt_sb);
        cachefiles_end_secure(cache, saved_cred);
 
        if (ret == -EIO)