mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-18 07:08:18 +00:00
void sync(char const *path)
Sync now takes a path argument at VFS and File system interfaces. Issue #1648
This commit is contained in:
committed by
Christian Helmuth
parent
96d021b9d4
commit
2da239d0c8
@ -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_ */
|
||||
|
Reference in New Issue
Block a user