void sync(char const *path)

Sync now takes a path argument at VFS and File system interfaces.

Issue #1648
This commit is contained in:
Emery Hemingway
2015-10-07 17:02:52 +02:00
committed by Christian Helmuth
parent 96d021b9d4
commit 2da239d0c8
15 changed files with 29 additions and 29 deletions

View File

@ -32,11 +32,9 @@ struct Vfs::File_system : Directory_service, File_io_service
/**
* Synchronize file system
*
* This method is only used by a Fs_file_system because such a file
* system may employ a backend, which maintains a internal cache, that
* needs to be flushed.
* This method flushes any delayed operations from the file system.
*/
virtual void sync() { }
virtual void sync(char const *path) { }
};
#endif /* _INCLUDE__VFS__FILE_SYSTEM_H_ */