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

@@ -106,9 +106,9 @@ class File_system::Session_client : public Rpc_client<Session>
call<Rpc_sigh>(node, sigh);
}
void sync() override
void sync(Node_handle node) override
{
call<Rpc_sync>();
call<Rpc_sync>(node);
}
};

View File

@@ -289,7 +289,7 @@ struct File_system::Session : public Genode::Session
* cache, which needs to be flushed on certain occasions. Therefore,
* the default implementation just serves as a reminder.
*/
virtual void sync() { PWRN("sync() not implemented!"); }
virtual void sync(Node_handle) { }
/*******************
@@ -328,7 +328,7 @@ struct File_system::Session : public Genode::Session
GENODE_RPC_THROW(Rpc_sigh, void, sigh,
GENODE_TYPE_LIST(Invalid_handle),
Node_handle, Signal_context_capability);
GENODE_RPC(Rpc_sync, void, sync);
GENODE_RPC(Rpc_sync, void, sync, Node_handle);
/*
* Manual type-list definition, needed because the RPC interface