os/include/file_system_session: API transition (fix 'deprecated' warnings)

...and adaptation of the users of 'File_system::Session_rpc_object' to the
modified interface.

Issue #1987
This commit is contained in:
Christian Prochaska
2017-01-16 17:04:28 +01:00
committed by Norman Feske
parent 344f6f9e53
commit 201bfabdac
9 changed files with 55 additions and 45 deletions

View File

@ -5,7 +5,7 @@
*/
/*
* Copyright (C) 2012-2016 Genode Labs GmbH
* Copyright (C) 2012-2017 Genode Labs GmbH
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
@ -154,7 +154,7 @@ class File_system::Session_component : public Session_rpc_object
bool writable,
Allocator &md_alloc)
:
Session_rpc_object(env.ram().alloc(tx_buf_size), env.ep().rpc_ep()),
Session_rpc_object(env.ram().alloc(tx_buf_size), env.rm(), env.ep().rpc_ep()),
_env(env),
_md_alloc(md_alloc),
_root(*new (&_md_alloc) Directory(_md_alloc, root_dir, false)),