diff --git a/repos/os/include/vfs/directory_service.h b/repos/os/include/vfs/directory_service.h index 06dc192508..5c2b69bc15 100644 --- a/repos/os/include/vfs/directory_service.h +++ b/repos/os/include/vfs/directory_service.h @@ -188,6 +188,13 @@ struct Vfs::Directory_service virtual bool directory(char const *path) = 0; virtual char const *leaf_path(char const *path) = 0; + + /** + * Synchronize file system + * + * This method flushes any delayed operations from the file system. + */ + virtual void sync(char const *path) { } }; #endif /* _INCLUDE__VFS__DIRECTORY_SERVICE_H_ */ diff --git a/repos/os/include/vfs/file_system.h b/repos/os/include/vfs/file_system.h index 28d3616f05..5925ceae2f 100644 --- a/repos/os/include/vfs/file_system.h +++ b/repos/os/include/vfs/file_system.h @@ -29,13 +29,6 @@ struct Vfs::File_system : Directory_service, File_io_service File_system() : next(0) { } - /** - * Synchronize file system - * - * This method flushes any delayed operations from the file system. - */ - virtual void sync(char const *path) { } - /** * Adjust to configuration changes */